@scalar/api-reference 1.46.4 → 1.48.0
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 +91 -0
- package/dist/browser/standalone.js +3320 -3300
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue2.js +54 -29
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReference.vue2.js +12 -3
- package/dist/features/developer-tools/DeveloperTools.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/DeveloperTools.vue.js +1 -1
- package/dist/helpers/lazy-bus.d.ts +6 -0
- package/dist/helpers/lazy-bus.d.ts.map +1 -1
- package/dist/helpers/lazy-bus.js +1 -0
- package/dist/style.css +207 -130
- package/package.json +22 -22
package/dist/style.css
CHANGED
|
@@ -2379,96 +2379,18 @@ to {
|
|
|
2379
2379
|
gap: 12px;
|
|
2380
2380
|
border-top: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
2381
2381
|
}
|
|
2382
|
-
|
|
2383
|
-
.agent-scalar[data-v-b45a83b1] {
|
|
2384
|
-
position: fixed;
|
|
2385
|
-
top: 0;
|
|
2386
|
-
left: 0;
|
|
2387
|
-
width: calc(100% - 50px);
|
|
2388
|
-
height: 100dvh;
|
|
2389
|
-
background: var(--scalar-background-1);
|
|
2390
|
-
border-right: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
2391
|
-
transform: translate3d(
|
|
2392
|
-
calc(-100% + var(--scalar-sidebar-width, 288px)),
|
|
2393
|
-
0,
|
|
2394
|
-
0
|
|
2395
|
-
);
|
|
2396
|
-
z-index: 2;
|
|
2397
|
-
animation: 0.35s forwards scalaragentslidein-b45a83b1;
|
|
2398
|
-
box-shadow: var(--scalar-shadow-2);
|
|
2399
|
-
}
|
|
2400
|
-
.agent-scalar-container[data-v-b45a83b1] {
|
|
2401
|
-
width: calc(100% - var(--scalar-sidebar-width, 288px));
|
|
2402
|
-
height: 100%;
|
|
2403
|
-
margin-left: auto;
|
|
2404
|
-
overflow: auto;
|
|
2405
|
-
padding: 0 24px;
|
|
2406
|
-
}
|
|
2407
|
-
.scalar-app-exit[data-v-b45a83b1] {
|
|
2408
|
-
cursor: pointer;
|
|
2409
|
-
z-index: 2;
|
|
2410
|
-
width: 100vw;
|
|
2411
|
-
height: 100vh;
|
|
2412
|
-
transition: all 0.3s ease-in-out;
|
|
2413
|
-
position: fixed;
|
|
2414
|
-
top: 0;
|
|
2415
|
-
left: 0;
|
|
2416
|
-
}
|
|
2382
|
+
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
2417
2383
|
@media (max-width: 1000px) {
|
|
2418
|
-
.agent-scalar-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
height: calc(100dvh - 50px);
|
|
2424
|
-
bottom: 0;
|
|
2425
|
-
top: initial;
|
|
2426
|
-
border-radius: var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;
|
|
2427
|
-
z-index: 12;
|
|
2428
|
-
}
|
|
2429
|
-
.scalar-app-exit[data-v-b45a83b1] {
|
|
2430
|
-
z-index: 11;
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2433
|
-
.scalar-app-exit-animation[data-v-b45a83b1]:before {
|
|
2434
|
-
content: '';
|
|
2435
|
-
position: absolute;
|
|
2436
|
-
width: 100%;
|
|
2437
|
-
height: 100%;
|
|
2438
|
-
background: #00000038;
|
|
2439
|
-
animation: 0.5s forwards scalardrawerexitfadein-b45a83b1;
|
|
2440
|
-
animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
|
|
2441
|
-
}
|
|
2442
|
-
.dark-mode .scalar .scalar-app-exit-animation[data-v-b45a83b1]:before {
|
|
2443
|
-
background: #00000073;
|
|
2444
|
-
}
|
|
2445
|
-
@keyframes scalaragentslidein-b45a83b1 {
|
|
2446
|
-
from {
|
|
2447
|
-
transform: translate3d(
|
|
2448
|
-
calc(-100% + var(--scalar-sidebar-width, 288px)),
|
|
2449
|
-
0,
|
|
2450
|
-
0
|
|
2451
|
-
);
|
|
2452
|
-
}
|
|
2453
|
-
to {
|
|
2454
|
-
transform: translate3d(0, 0, 0);
|
|
2384
|
+
.agent-scalar.agent-scalar[data-v-b38821a2] {
|
|
2385
|
+
border-top-left-radius: var(--scalar-radius-lg);
|
|
2386
|
+
border-top-right-radius: var(--scalar-radius-lg);
|
|
2387
|
+
inset-inline: 0;
|
|
2388
|
+
top: 48px;
|
|
2455
2389
|
}
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
from {
|
|
2459
|
-
opacity: 0;
|
|
2460
|
-
}
|
|
2461
|
-
to {
|
|
2462
|
-
opacity: 1;
|
|
2390
|
+
.agent-scalar.agent-scalar[data-v-b38821a2], .agent-scalar-overlay.agent-scalar-overlay[data-v-b38821a2] {
|
|
2391
|
+
z-index: 15;
|
|
2463
2392
|
}
|
|
2464
2393
|
}
|
|
2465
|
-
.app-exit-button[data-v-b45a83b1] {
|
|
2466
|
-
color: white;
|
|
2467
|
-
background: rgba(0, 0, 0, 0.1);
|
|
2468
|
-
}
|
|
2469
|
-
.app-exit-button[data-v-b45a83b1]:hover {
|
|
2470
|
-
background: rgba(255, 255, 255, 0.1);
|
|
2471
|
-
}
|
|
2472
2394
|
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
2473
2395
|
@layer properties {
|
|
2474
2396
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
@@ -3600,6 +3522,9 @@ body {
|
|
|
3600
3522
|
.scalar-app .top-\[calc\(9px\+0\.5lh\)\] {
|
|
3601
3523
|
top: calc(9px + .5lh);
|
|
3602
3524
|
}
|
|
3525
|
+
.scalar-app .right-12 {
|
|
3526
|
+
right: 48px;
|
|
3527
|
+
}
|
|
3603
3528
|
.scalar-app .-left-4\.5 {
|
|
3604
3529
|
left: -18px;
|
|
3605
3530
|
}
|
|
@@ -3609,6 +3534,9 @@ body {
|
|
|
3609
3534
|
.scalar-app .-left-6 {
|
|
3610
3535
|
left: -24px;
|
|
3611
3536
|
}
|
|
3537
|
+
.scalar-app .left-w-sidebar {
|
|
3538
|
+
left: var(--refs-sidebar-width);
|
|
3539
|
+
}
|
|
3612
3540
|
.scalar-app .z-10 {
|
|
3613
3541
|
z-index: 10;
|
|
3614
3542
|
z-index: 10;
|
|
@@ -3794,6 +3722,14 @@ body {
|
|
|
3794
3722
|
.scalar-app .text-current {
|
|
3795
3723
|
color: currentColor;
|
|
3796
3724
|
}
|
|
3725
|
+
.scalar-app .duration-500 {
|
|
3726
|
+
--tw-duration: .5s;
|
|
3727
|
+
transition-duration: .5s;
|
|
3728
|
+
}
|
|
3729
|
+
.scalar-app .ease-\[cubic-bezier\(0\.77\,0\,0\.175\,1\)\] {
|
|
3730
|
+
--tw-ease: cubic-bezier(.77, 0, .175, 1);
|
|
3731
|
+
transition-timing-function: cubic-bezier(.77, 0, .175, 1);
|
|
3732
|
+
}
|
|
3797
3733
|
.scalar-app .\[--scalar-address-bar-height\:0px\] {
|
|
3798
3734
|
--scalar-address-bar-height: 0px;
|
|
3799
3735
|
}
|
|
@@ -3871,14 +3807,6 @@ body {
|
|
|
3871
3807
|
margin-left: auto;
|
|
3872
3808
|
}
|
|
3873
3809
|
}
|
|
3874
|
-
@media (max-width: 720px) and (max-height: 480px) {
|
|
3875
|
-
.scalar-app .zoomed\:static {
|
|
3876
|
-
position: static;
|
|
3877
|
-
}
|
|
3878
|
-
.scalar-app .zoomed\:p-1 {
|
|
3879
|
-
padding: 4px;
|
|
3880
|
-
}
|
|
3881
|
-
}
|
|
3882
3810
|
.scalar-app .\[\&_a\]\:underline a {
|
|
3883
3811
|
text-decoration-line: underline;
|
|
3884
3812
|
}
|
|
@@ -4176,10 +4104,6 @@ body {
|
|
|
4176
4104
|
inherits: false;
|
|
4177
4105
|
initial-value: transparent;
|
|
4178
4106
|
}
|
|
4179
|
-
@property --tw-ease {
|
|
4180
|
-
syntax: "*";
|
|
4181
|
-
inherits: false
|
|
4182
|
-
}
|
|
4183
4107
|
@keyframes fade-in-27df5cd8 {
|
|
4184
4108
|
0% {
|
|
4185
4109
|
opacity: 0;
|
|
@@ -4408,6 +4332,9 @@ to {
|
|
|
4408
4332
|
}
|
|
4409
4333
|
}
|
|
4410
4334
|
}
|
|
4335
|
+
.scalar-app .bg-b-2 {
|
|
4336
|
+
background-color: var(--scalar-background-2);
|
|
4337
|
+
}
|
|
4411
4338
|
.scalar-app .bg-c-accent {
|
|
4412
4339
|
background-color: var(--scalar-color-accent);
|
|
4413
4340
|
}
|
|
@@ -4902,9 +4829,6 @@ to {
|
|
|
4902
4829
|
.scalar-app .right-0\.75 {
|
|
4903
4830
|
right: 3px;
|
|
4904
4831
|
}
|
|
4905
|
-
.scalar-app .ml-2 {
|
|
4906
|
-
margin-left: 8px;
|
|
4907
|
-
}
|
|
4908
4832
|
.scalar-app .self-start {
|
|
4909
4833
|
align-self: flex-start;
|
|
4910
4834
|
}
|
|
@@ -5187,9 +5111,6 @@ to {
|
|
|
5187
5111
|
.scalar-app .right-2\.5 {
|
|
5188
5112
|
right: 10px;
|
|
5189
5113
|
}
|
|
5190
|
-
.scalar-app .left-2 {
|
|
5191
|
-
left: 8px;
|
|
5192
|
-
}
|
|
5193
5114
|
.scalar-app .left-2\.5 {
|
|
5194
5115
|
left: 10px;
|
|
5195
5116
|
}
|
|
@@ -5370,9 +5291,6 @@ to {
|
|
|
5370
5291
|
.scalar-app .w-min {
|
|
5371
5292
|
width: min-content;
|
|
5372
5293
|
}
|
|
5373
|
-
.scalar-app .w-screen {
|
|
5374
|
-
width: 100vw;
|
|
5375
|
-
}
|
|
5376
5294
|
.scalar-app .max-w-\[360px\] {
|
|
5377
5295
|
max-width: 360px;
|
|
5378
5296
|
}
|
|
@@ -5562,9 +5480,6 @@ to {
|
|
|
5562
5480
|
.scalar-app .bg-border {
|
|
5563
5481
|
background-color: var(--scalar-border-color);
|
|
5564
5482
|
}
|
|
5565
|
-
.scalar-app .bg-c-danger {
|
|
5566
|
-
background-color: var(--scalar-color-danger);
|
|
5567
|
-
}
|
|
5568
5483
|
.scalar-app .bg-inherit {
|
|
5569
5484
|
background-color: inherit;
|
|
5570
5485
|
}
|
|
@@ -5720,9 +5635,6 @@ to {
|
|
|
5720
5635
|
.scalar-app .break-words, .scalar-app .wrap-break-word {
|
|
5721
5636
|
overflow-wrap: break-word;
|
|
5722
5637
|
}
|
|
5723
|
-
.scalar-app .text-c-alert {
|
|
5724
|
-
color: var(--scalar-color-alert);
|
|
5725
|
-
}
|
|
5726
5638
|
.scalar-app .text-c-tooltip {
|
|
5727
5639
|
color: var(--scalar-tooltip-color);
|
|
5728
5640
|
}
|
|
@@ -7190,6 +7102,9 @@ to {
|
|
|
7190
7102
|
.scalar-app .bottom-1\/2 {
|
|
7191
7103
|
bottom: 50%;
|
|
7192
7104
|
}
|
|
7105
|
+
.scalar-app .bottom-2 {
|
|
7106
|
+
bottom: 8px;
|
|
7107
|
+
}
|
|
7193
7108
|
.scalar-app .bottom-\[var\(--scalar-border-width\)\] {
|
|
7194
7109
|
bottom: var(--scalar-border-width);
|
|
7195
7110
|
}
|
|
@@ -7199,6 +7114,9 @@ to {
|
|
|
7199
7114
|
.scalar-app .left-1\/2 {
|
|
7200
7115
|
left: 50%;
|
|
7201
7116
|
}
|
|
7117
|
+
.scalar-app .left-2 {
|
|
7118
|
+
left: 8px;
|
|
7119
|
+
}
|
|
7202
7120
|
.scalar-app .left-3 {
|
|
7203
7121
|
left: 12px;
|
|
7204
7122
|
}
|
|
@@ -7316,6 +7234,9 @@ to {
|
|
|
7316
7234
|
.scalar-app .-mt-\[\.5px\] {
|
|
7317
7235
|
margin-top: -.5px;
|
|
7318
7236
|
}
|
|
7237
|
+
.scalar-app .mt-0\.5 {
|
|
7238
|
+
margin-top: 2px;
|
|
7239
|
+
}
|
|
7319
7240
|
.scalar-app .mt-0\.25 {
|
|
7320
7241
|
margin-top: 1px;
|
|
7321
7242
|
}
|
|
@@ -7445,6 +7366,9 @@ to {
|
|
|
7445
7366
|
.scalar-app .ml-1\.25 {
|
|
7446
7367
|
margin-left: 5px;
|
|
7447
7368
|
}
|
|
7369
|
+
.scalar-app .ml-2 {
|
|
7370
|
+
margin-left: 8px;
|
|
7371
|
+
}
|
|
7448
7372
|
.scalar-app .ml-3 {
|
|
7449
7373
|
margin-left: 12px;
|
|
7450
7374
|
}
|
|
@@ -7602,6 +7526,9 @@ to {
|
|
|
7602
7526
|
.scalar-app .h-\[68px\] {
|
|
7603
7527
|
height: 68px;
|
|
7604
7528
|
}
|
|
7529
|
+
.scalar-app .h-\[500px\] {
|
|
7530
|
+
height: 500px;
|
|
7531
|
+
}
|
|
7605
7532
|
.scalar-app .h-\[calc\(100\%-273\.5px\)\] {
|
|
7606
7533
|
height: calc(100% - 273.5px);
|
|
7607
7534
|
}
|
|
@@ -7638,6 +7565,9 @@ to {
|
|
|
7638
7565
|
.scalar-app .max-h-8 {
|
|
7639
7566
|
max-height: 32px;
|
|
7640
7567
|
}
|
|
7568
|
+
.scalar-app .max-h-28 {
|
|
7569
|
+
max-height: 112px;
|
|
7570
|
+
}
|
|
7641
7571
|
.scalar-app .max-h-40 {
|
|
7642
7572
|
max-height: 160px;
|
|
7643
7573
|
}
|
|
@@ -7797,6 +7727,12 @@ to {
|
|
|
7797
7727
|
.scalar-app .w-max {
|
|
7798
7728
|
width: max-content;
|
|
7799
7729
|
}
|
|
7730
|
+
.scalar-app .w-px {
|
|
7731
|
+
width: 1px;
|
|
7732
|
+
}
|
|
7733
|
+
.scalar-app .w-screen {
|
|
7734
|
+
width: 100vw;
|
|
7735
|
+
}
|
|
7800
7736
|
.scalar-app .max-w-8 {
|
|
7801
7737
|
max-width: 32px;
|
|
7802
7738
|
}
|
|
@@ -7860,6 +7796,9 @@ to {
|
|
|
7860
7796
|
.scalar-app .min-w-\[37px\] {
|
|
7861
7797
|
min-width: 37px;
|
|
7862
7798
|
}
|
|
7799
|
+
.scalar-app .min-w-\[48px\] {
|
|
7800
|
+
min-width: 48px;
|
|
7801
|
+
}
|
|
7863
7802
|
.scalar-app .min-w-\[100px\] {
|
|
7864
7803
|
min-width: 100px;
|
|
7865
7804
|
}
|
|
@@ -7960,6 +7899,9 @@ to {
|
|
|
7960
7899
|
.scalar-app .grid-cols-\[auto_1fr\] {
|
|
7961
7900
|
grid-template-columns: auto 1fr;
|
|
7962
7901
|
}
|
|
7902
|
+
.scalar-app .grid-cols-\[minmax\(0\,1fr\)_auto_minmax\(0\,1fr\)\] {
|
|
7903
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
7904
|
+
}
|
|
7963
7905
|
.scalar-app .grid-cols-\[repeat\(auto-fill\,minmax\(32px\,1fr\)\)\] {
|
|
7964
7906
|
grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
|
|
7965
7907
|
}
|
|
@@ -8071,6 +8013,12 @@ to {
|
|
|
8071
8013
|
.scalar-app .self-center {
|
|
8072
8014
|
align-self: center;
|
|
8073
8015
|
}
|
|
8016
|
+
.scalar-app .justify-self-center {
|
|
8017
|
+
justify-self: center;
|
|
8018
|
+
}
|
|
8019
|
+
.scalar-app .justify-self-end {
|
|
8020
|
+
justify-self: flex-end;
|
|
8021
|
+
}
|
|
8074
8022
|
.scalar-app .truncate {
|
|
8075
8023
|
text-overflow: ellipsis;
|
|
8076
8024
|
white-space: nowrap;
|
|
@@ -8293,9 +8241,32 @@ to {
|
|
|
8293
8241
|
.scalar-app .bg-b-1 {
|
|
8294
8242
|
background-color: var(--scalar-background-1);
|
|
8295
8243
|
}
|
|
8296
|
-
.scalar-app .bg-b-2 {
|
|
8244
|
+
.scalar-app .bg-b-2, .scalar-app .bg-b-2\/30 {
|
|
8245
|
+
background-color: var(--scalar-background-2);
|
|
8246
|
+
}
|
|
8247
|
+
@supports (color: color-mix(in lab,red,red)) {
|
|
8248
|
+
.scalar-app .bg-b-2\/30 {
|
|
8249
|
+
background-color: var(--scalar-background-2);
|
|
8250
|
+
}
|
|
8251
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8252
|
+
.scalar-app .bg-b-2\/30 {
|
|
8253
|
+
background-color: color-mix(in oklab, var(--scalar-background-2) 30%, transparent);
|
|
8254
|
+
}
|
|
8255
|
+
}
|
|
8256
|
+
}
|
|
8257
|
+
.scalar-app .bg-b-2\/40 {
|
|
8297
8258
|
background-color: var(--scalar-background-2);
|
|
8298
8259
|
}
|
|
8260
|
+
@supports (color: color-mix(in lab,red,red)) {
|
|
8261
|
+
.scalar-app .bg-b-2\/40 {
|
|
8262
|
+
background-color: var(--scalar-background-2);
|
|
8263
|
+
}
|
|
8264
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8265
|
+
.scalar-app .bg-b-2\/40 {
|
|
8266
|
+
background-color: color-mix(in oklab, var(--scalar-background-2) 40%, transparent);
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
}
|
|
8299
8270
|
.scalar-app .bg-b-3 {
|
|
8300
8271
|
background-color: var(--scalar-background-3);
|
|
8301
8272
|
}
|
|
@@ -8341,6 +8312,12 @@ to {
|
|
|
8341
8312
|
}
|
|
8342
8313
|
}
|
|
8343
8314
|
}
|
|
8315
|
+
.scalar-app .bg-c-alert {
|
|
8316
|
+
background-color: var(--scalar-color-alert);
|
|
8317
|
+
}
|
|
8318
|
+
.scalar-app .bg-c-danger {
|
|
8319
|
+
background-color: var(--scalar-color-danger);
|
|
8320
|
+
}
|
|
8344
8321
|
.scalar-app .bg-current {
|
|
8345
8322
|
background-color: currentColor;
|
|
8346
8323
|
}
|
|
@@ -8814,6 +8791,9 @@ to {
|
|
|
8814
8791
|
.scalar-app .text-c-accent {
|
|
8815
8792
|
color: var(--scalar-color-accent);
|
|
8816
8793
|
}
|
|
8794
|
+
.scalar-app .text-c-alert {
|
|
8795
|
+
color: var(--scalar-color-alert);
|
|
8796
|
+
}
|
|
8817
8797
|
.scalar-app .text-c-btn {
|
|
8818
8798
|
color: var(--scalar-button-1-color);
|
|
8819
8799
|
}
|
|
@@ -8919,6 +8899,10 @@ to {
|
|
|
8919
8899
|
--tw-shadow: 0 0 #0000;
|
|
8920
8900
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
8921
8901
|
}
|
|
8902
|
+
.scalar-app .shadow-sm {
|
|
8903
|
+
--tw-shadow: var(--tw-shadow-color, #00000017) 0px 1px 4px;
|
|
8904
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
8905
|
+
}
|
|
8922
8906
|
.scalar-app .outline {
|
|
8923
8907
|
outline-style: var(--tw-outline-style);
|
|
8924
8908
|
outline-width: 1px;
|
|
@@ -9241,6 +9225,9 @@ to {
|
|
|
9241
9225
|
--tw-content: ":";
|
|
9242
9226
|
content: var(--tw-content);
|
|
9243
9227
|
}
|
|
9228
|
+
.scalar-app .first\:rounded-md:first-child {
|
|
9229
|
+
border-radius: var(--scalar-radius);
|
|
9230
|
+
}
|
|
9244
9231
|
:is(.scalar-app .\*\:first\:line-clamp-1 > *):first-child {
|
|
9245
9232
|
-webkit-line-clamp: 1;
|
|
9246
9233
|
-webkit-box-orient: vertical;
|
|
@@ -9269,6 +9256,9 @@ to {
|
|
|
9269
9256
|
.scalar-app .last\:mb-0:last-child {
|
|
9270
9257
|
margin-bottom: 0;
|
|
9271
9258
|
}
|
|
9259
|
+
.scalar-app .last\:rounded-md:last-child {
|
|
9260
|
+
border-radius: var(--scalar-radius);
|
|
9261
|
+
}
|
|
9272
9262
|
.scalar-app .last\:rounded-b-lg:last-child {
|
|
9273
9263
|
border-bottom-right-radius: var(--scalar-radius-lg);
|
|
9274
9264
|
border-bottom-left-radius: var(--scalar-radius-lg);
|
|
@@ -9311,9 +9301,45 @@ to {
|
|
|
9311
9301
|
.scalar-app .hover\:border-inherit:hover {
|
|
9312
9302
|
border-color: inherit;
|
|
9313
9303
|
}
|
|
9314
|
-
.scalar-app .hover\:bg-b-2:hover {
|
|
9304
|
+
.scalar-app .hover\:bg-b-2:hover, .scalar-app .hover\:bg-b-2\/40:hover {
|
|
9305
|
+
background-color: var(--scalar-background-2);
|
|
9306
|
+
}
|
|
9307
|
+
@supports (color: color-mix(in lab,red,red)) {
|
|
9308
|
+
.scalar-app .hover\:bg-b-2\/40:hover {
|
|
9309
|
+
background-color: var(--scalar-background-2);
|
|
9310
|
+
}
|
|
9311
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9312
|
+
.scalar-app .hover\:bg-b-2\/40:hover {
|
|
9313
|
+
background-color: color-mix(in oklab, var(--scalar-background-2) 40%, transparent);
|
|
9314
|
+
}
|
|
9315
|
+
}
|
|
9316
|
+
}
|
|
9317
|
+
.scalar-app .hover\:bg-b-2\/50:hover {
|
|
9318
|
+
background-color: var(--scalar-background-2);
|
|
9319
|
+
}
|
|
9320
|
+
@supports (color: color-mix(in lab,red,red)) {
|
|
9321
|
+
.scalar-app .hover\:bg-b-2\/50:hover {
|
|
9322
|
+
background-color: var(--scalar-background-2);
|
|
9323
|
+
}
|
|
9324
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9325
|
+
.scalar-app .hover\:bg-b-2\/50:hover {
|
|
9326
|
+
background-color: color-mix(in oklab, var(--scalar-background-2) 50%, transparent);
|
|
9327
|
+
}
|
|
9328
|
+
}
|
|
9329
|
+
}
|
|
9330
|
+
.scalar-app .hover\:bg-b-2\/60:hover {
|
|
9315
9331
|
background-color: var(--scalar-background-2);
|
|
9316
9332
|
}
|
|
9333
|
+
@supports (color: color-mix(in lab,red,red)) {
|
|
9334
|
+
.scalar-app .hover\:bg-b-2\/60:hover {
|
|
9335
|
+
background-color: var(--scalar-background-2);
|
|
9336
|
+
}
|
|
9337
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9338
|
+
.scalar-app .hover\:bg-b-2\/60:hover {
|
|
9339
|
+
background-color: color-mix(in oklab, var(--scalar-background-2) 60%, transparent);
|
|
9340
|
+
}
|
|
9341
|
+
}
|
|
9342
|
+
}
|
|
9317
9343
|
.scalar-app .hover\:bg-b-3:hover {
|
|
9318
9344
|
background-color: var(--scalar-background-3);
|
|
9319
9345
|
}
|
|
@@ -9368,6 +9394,34 @@ to {
|
|
|
9368
9394
|
.scalar-app .focus-visible\:z-10:focus-visible {
|
|
9369
9395
|
z-index: 10;
|
|
9370
9396
|
}
|
|
9397
|
+
.scalar-app .focus-visible\:ring-2:focus-visible {
|
|
9398
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
9399
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
9400
|
+
}
|
|
9401
|
+
.scalar-app .focus-visible\:ring-c-accent\/30:focus-visible {
|
|
9402
|
+
--tw-ring-color: var(--scalar-color-accent);
|
|
9403
|
+
}
|
|
9404
|
+
@supports (color: color-mix(in lab,red,red)) {
|
|
9405
|
+
.scalar-app .focus-visible\:ring-c-accent\/30:focus-visible {
|
|
9406
|
+
--tw-ring-color: var(--scalar-color-accent);
|
|
9407
|
+
}
|
|
9408
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9409
|
+
.scalar-app .focus-visible\:ring-c-accent\/30:focus-visible {
|
|
9410
|
+
--tw-ring-color: color-mix(in oklab, var(--scalar-color-accent) 30%, transparent);
|
|
9411
|
+
}
|
|
9412
|
+
}
|
|
9413
|
+
}
|
|
9414
|
+
.scalar-app .focus-visible\:ring-offset-1:focus-visible {
|
|
9415
|
+
--tw-ring-offset-width: 1px;
|
|
9416
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
9417
|
+
}
|
|
9418
|
+
.scalar-app .focus-visible\:ring-offset-b-1:focus-visible {
|
|
9419
|
+
--tw-ring-offset-color: var(--scalar-background-1);
|
|
9420
|
+
}
|
|
9421
|
+
.scalar-app .focus-visible\:outline-none:focus-visible {
|
|
9422
|
+
--tw-outline-style: none;
|
|
9423
|
+
outline-style: none;
|
|
9424
|
+
}
|
|
9371
9425
|
.scalar-app .active\:text-c-1:active {
|
|
9372
9426
|
color: var(--scalar-color-1);
|
|
9373
9427
|
}
|
|
@@ -11460,6 +11514,25 @@ to {
|
|
|
11460
11514
|
border-color: var(--scalar-border-color) !important;
|
|
11461
11515
|
background: none !important;
|
|
11462
11516
|
}
|
|
11517
|
+
.editor-container[data-v-de6c6373] {
|
|
11518
|
+
width: 100%;
|
|
11519
|
+
height: 100%;
|
|
11520
|
+
}
|
|
11521
|
+
[data-v-de6c6373] .json-path-highlight {
|
|
11522
|
+
background-color: #ffc80059;
|
|
11523
|
+
border-radius: 4px;
|
|
11524
|
+
}
|
|
11525
|
+
[data-v-de6c6373] .json-focus-highlight {
|
|
11526
|
+
background-color: var(--scalar-color-accent, #24b47e);
|
|
11527
|
+
}
|
|
11528
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11529
|
+
[data-v-de6c6373] .json-focus-highlight {
|
|
11530
|
+
background-color: color-mix(in srgb, var(--scalar-color-accent, #24b47e) 18%, transparent);
|
|
11531
|
+
}
|
|
11532
|
+
}
|
|
11533
|
+
[data-v-de6c6373] .json-focus-highlight {
|
|
11534
|
+
border-radius: 4px;
|
|
11535
|
+
}
|
|
11463
11536
|
.schema > span[data-v-4df72868]:not(:first-child):before {
|
|
11464
11537
|
content: "·";
|
|
11465
11538
|
margin: 0 .5ch;
|
|
@@ -12203,10 +12276,14 @@ to {
|
|
|
12203
12276
|
syntax: "*";
|
|
12204
12277
|
inherits: false
|
|
12205
12278
|
}
|
|
12279
|
+
@property --tw-ease {
|
|
12280
|
+
syntax: "*";
|
|
12281
|
+
inherits: false
|
|
12282
|
+
}
|
|
12206
12283
|
|
|
12207
12284
|
/* Configurable Layout Variables */
|
|
12208
12285
|
@layer scalar-config {
|
|
12209
|
-
.scalar-api-reference[data-v-
|
|
12286
|
+
.scalar-api-reference[data-v-69e552a7] {
|
|
12210
12287
|
/* The header height */
|
|
12211
12288
|
--refs-header-height: calc(
|
|
12212
12289
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
@@ -12228,20 +12305,20 @@ to {
|
|
|
12228
12305
|
/* The maximum width of the content column */
|
|
12229
12306
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
12230
12307
|
}
|
|
12231
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12308
|
+
.scalar-api-reference.references-classic[data-v-69e552a7] {
|
|
12232
12309
|
/* Classic layout is wider */
|
|
12233
12310
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
12234
12311
|
min-height: 100dvh;
|
|
12235
12312
|
--refs-sidebar-width: 0;
|
|
12236
12313
|
}
|
|
12237
12314
|
}
|
|
12238
|
-
.t-doc__sidebar[data-v-
|
|
12315
|
+
.t-doc__sidebar[data-v-69e552a7] {
|
|
12239
12316
|
z-index: 10;
|
|
12240
12317
|
}
|
|
12241
12318
|
|
|
12242
12319
|
/* ----------------------------------------------------- */
|
|
12243
12320
|
/* References Layout */
|
|
12244
|
-
.references-layout[data-v-
|
|
12321
|
+
.references-layout[data-v-69e552a7] {
|
|
12245
12322
|
/* Try to fill the container */
|
|
12246
12323
|
min-height: 100dvh;
|
|
12247
12324
|
min-width: 100%;
|
|
@@ -12265,39 +12342,39 @@ to {
|
|
|
12265
12342
|
|
|
12266
12343
|
background: var(--scalar-background-1);
|
|
12267
12344
|
}
|
|
12268
|
-
.references-editor[data-v-
|
|
12345
|
+
.references-editor[data-v-69e552a7] {
|
|
12269
12346
|
grid-area: editor;
|
|
12270
12347
|
display: flex;
|
|
12271
12348
|
min-width: 0;
|
|
12272
12349
|
background: var(--scalar-background-1);
|
|
12273
12350
|
}
|
|
12274
|
-
.references-rendered[data-v-
|
|
12351
|
+
.references-rendered[data-v-69e552a7] {
|
|
12275
12352
|
position: relative;
|
|
12276
12353
|
grid-area: rendered;
|
|
12277
12354
|
min-width: 0;
|
|
12278
12355
|
background: var(--scalar-background-1);
|
|
12279
12356
|
}
|
|
12280
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12281
|
-
.references-classic .references-rendered[data-v-
|
|
12357
|
+
.scalar-api-reference.references-classic[data-v-69e552a7],
|
|
12358
|
+
.references-classic .references-rendered[data-v-69e552a7] {
|
|
12282
12359
|
height: initial !important;
|
|
12283
12360
|
max-height: initial !important;
|
|
12284
12361
|
}
|
|
12285
12362
|
@layer scalar-config {
|
|
12286
|
-
.references-sidebar[data-v-
|
|
12363
|
+
.references-sidebar[data-v-69e552a7] {
|
|
12287
12364
|
/* Set a default width if references are enabled */
|
|
12288
12365
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
12289
12366
|
}
|
|
12290
12367
|
}
|
|
12291
12368
|
|
|
12292
12369
|
/* Footer */
|
|
12293
|
-
.references-footer[data-v-
|
|
12370
|
+
.references-footer[data-v-69e552a7] {
|
|
12294
12371
|
grid-area: footer;
|
|
12295
12372
|
}
|
|
12296
12373
|
/* ----------------------------------------------------- */
|
|
12297
12374
|
/* Responsive / Mobile Layout */
|
|
12298
12375
|
@media (max-width: 1000px) {
|
|
12299
12376
|
/* Stack view on mobile */
|
|
12300
|
-
.references-layout[data-v-
|
|
12377
|
+
.references-layout[data-v-69e552a7] {
|
|
12301
12378
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
12302
12379
|
--refs-sidebar-height: calc(
|
|
12303
12380
|
var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
|
|
@@ -12312,13 +12389,13 @@ to {
|
|
|
12312
12389
|
'rendered'
|
|
12313
12390
|
'footer';
|
|
12314
12391
|
}
|
|
12315
|
-
.references-editable[data-v-
|
|
12392
|
+
.references-editable[data-v-69e552a7] {
|
|
12316
12393
|
grid-template-areas:
|
|
12317
12394
|
'header'
|
|
12318
12395
|
'navigation'
|
|
12319
12396
|
'editor';
|
|
12320
12397
|
}
|
|
12321
|
-
.references-rendered[data-v-
|
|
12398
|
+
.references-rendered[data-v-69e552a7] {
|
|
12322
12399
|
position: static;
|
|
12323
12400
|
}
|
|
12324
12401
|
}
|
|
@@ -12329,12 +12406,12 @@ to {
|
|
|
12329
12406
|
* when the new elements are available
|
|
12330
12407
|
*/
|
|
12331
12408
|
@media (max-width: 1000px) {
|
|
12332
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
12409
|
+
.scalar-api-references-standalone-mobile[data-v-69e552a7]:not(.references-classic) {
|
|
12333
12410
|
--scalar-header-height: 50px;
|
|
12334
12411
|
}
|
|
12335
12412
|
}
|
|
12336
12413
|
|
|
12337
|
-
.darklight-reference[data-v-
|
|
12414
|
+
.darklight-reference[data-v-69e552a7] {
|
|
12338
12415
|
width: 100%;
|
|
12339
12416
|
margin-top: auto;
|
|
12340
12417
|
}
|
package/package.json
CHANGED
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.
|
|
23
|
+
"version": "1.48.0",
|
|
24
24
|
"engines": {
|
|
25
|
-
"node": ">=
|
|
25
|
+
"node": ">=22"
|
|
26
26
|
},
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "./dist/index.js",
|
|
@@ -85,22 +85,22 @@
|
|
|
85
85
|
"microdiff": "^1.5.0",
|
|
86
86
|
"nanoid": "^5.1.6",
|
|
87
87
|
"vue": "^3.5.26",
|
|
88
|
-
"@scalar/agent-chat": "0.
|
|
89
|
-
"@scalar/
|
|
90
|
-
"@scalar/
|
|
91
|
-
"@scalar/
|
|
92
|
-
"@scalar/
|
|
93
|
-
"@scalar/
|
|
94
|
-
"@scalar/oas-utils": "0.
|
|
95
|
-
"@scalar/
|
|
96
|
-
"@scalar/
|
|
97
|
-
"@scalar/openapi-types": "0.
|
|
98
|
-
"@scalar/snippetz": "0.
|
|
99
|
-
"@scalar/
|
|
100
|
-
"@scalar/
|
|
101
|
-
"@scalar/
|
|
102
|
-
"@scalar/use-hooks": "0.
|
|
103
|
-
"@scalar/workspace-store": "0.
|
|
88
|
+
"@scalar/agent-chat": "0.9.0",
|
|
89
|
+
"@scalar/code-highlight": "0.3.0",
|
|
90
|
+
"@scalar/api-client": "2.33.0",
|
|
91
|
+
"@scalar/components": "0.20.1",
|
|
92
|
+
"@scalar/helpers": "0.3.0",
|
|
93
|
+
"@scalar/icons": "0.6.0",
|
|
94
|
+
"@scalar/oas-utils": "0.10.0",
|
|
95
|
+
"@scalar/openapi-parser": "0.25.0",
|
|
96
|
+
"@scalar/sidebar": "0.8.1",
|
|
97
|
+
"@scalar/openapi-types": "0.6.0",
|
|
98
|
+
"@scalar/snippetz": "0.7.0",
|
|
99
|
+
"@scalar/themes": "0.15.0",
|
|
100
|
+
"@scalar/types": "0.7.0",
|
|
101
|
+
"@scalar/use-toasts": "0.10.0",
|
|
102
|
+
"@scalar/use-hooks": "0.4.0",
|
|
103
|
+
"@scalar/workspace-store": "0.37.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/build-tooling": "0.
|
|
122
|
-
"@scalar/core": "0.
|
|
123
|
-
"@scalar/react-renderer": "0.
|
|
124
|
-
"@scalar/galaxy": "0.
|
|
121
|
+
"@scalar/build-tooling": "0.5.0",
|
|
122
|
+
"@scalar/core": "0.4.0",
|
|
123
|
+
"@scalar/react-renderer": "0.4.0",
|
|
124
|
+
"@scalar/galaxy": "0.6.0"
|
|
125
125
|
},
|
|
126
126
|
"scripts": {
|
|
127
127
|
"build": "pnpm build:default && pnpm build:standalone && pnpm types:build",
|