@scalar/api-reference 1.44.11 → 1.44.12

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/browser/standalone.js +2805 -2788
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Content/Models/components/ClassicLayout.vue.js +1 -1
  5. package/dist/components/Content/Models/components/ClassicLayout.vue2.js +2 -2
  6. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +2 -3
  7. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Schema/SchemaComposition.vue.js +3 -3
  9. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +1 -1
  10. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +2 -2
  11. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
  12. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +4 -4
  13. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  15. package/dist/components/Content/Schema/SchemaProperty.vue2.js +3 -3
  16. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  17. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +3 -3
  18. package/dist/components/Content/Schema/helpers/get-compositions-to-render.js +3 -3
  19. package/dist/components/Content/Schema/helpers/get-enum-values.js +2 -2
  20. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts +1 -2
  21. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts.map +1 -1
  22. package/dist/components/Content/Schema/helpers/get-schema-type.js +3 -9
  23. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
  24. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +15 -14
  25. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts +1 -5
  26. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
  27. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +4 -6
  28. package/dist/components/Content/Schema/helpers/schema-name.d.ts +2 -2
  29. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  30. package/dist/components/Content/Schema/helpers/schema-name.js +4 -4
  31. package/dist/components/Content/Schema/helpers/sort-property-names.js +2 -2
  32. package/dist/style.css +57 -57
  33. package/package.json +12 -12
package/dist/style.css CHANGED
@@ -292,25 +292,25 @@ button.schema-card-title[data-v-4d81600f]:hover {
292
292
  color: var(--scalar-color-3);
293
293
  }
294
294
 
295
- .property-heading:empty + .property-description[data-v-d4946030]:last-of-type,
296
- .property-description[data-v-d4946030]:first-of-type:last-of-type {
295
+ .property-heading:empty + .property-description[data-v-d5367294]:last-of-type,
296
+ .property-description[data-v-d5367294]:first-of-type:last-of-type {
297
297
  margin-top: 0;
298
298
  }
299
- .property-list[data-v-d4946030] {
299
+ .property-list[data-v-d5367294] {
300
300
  border: var(--scalar-border-width) solid var(--scalar-border-color);
301
301
  border-radius: var(--scalar-radius);
302
302
  margin-top: 10px;
303
303
  }
304
- .property-list .property[data-v-d4946030]:last-of-type {
304
+ .property-list .property[data-v-d5367294]:last-of-type {
305
305
  padding-bottom: 10px;
306
306
  }
307
- .property-enum-values[data-v-d4946030] {
307
+ .property-enum-values[data-v-d5367294] {
308
308
  font-size: var(--scalar-font-size-3);
309
309
  list-style: none;
310
310
  margin-top: 8px;
311
311
  padding-left: 2px;
312
312
  }
313
- .enum-toggle-button[data-v-d4946030]:hover {
313
+ .enum-toggle-button[data-v-d5367294]:hover {
314
314
  color: var(--scalar-color-1);
315
315
  }
316
316
 
@@ -445,27 +445,27 @@ code.property-detail-value[data-v-827ea49d] {
445
445
  border: transparent;
446
446
  }
447
447
 
448
- .property-heading[data-v-5d03e993] {
448
+ .property-heading[data-v-e94a52f3] {
449
449
  display: flex;
450
450
  flex-wrap: wrap;
451
451
  align-items: baseline;
452
452
  row-gap: 9px;
453
453
  white-space: nowrap;
454
454
  }
455
- .property-heading[data-v-5d03e993]:has(+ .children),
456
- .property-heading[data-v-5d03e993]:has(+ .property-rule) {
455
+ .property-heading[data-v-e94a52f3]:has(+ .children),
456
+ .property-heading[data-v-e94a52f3]:has(+ .property-rule) {
457
457
  margin-bottom: 9px;
458
458
  }
459
- .property-heading[data-v-5d03e993] > * {
459
+ .property-heading[data-v-e94a52f3] > * {
460
460
  margin-right: 9px;
461
461
  }
462
- .property-heading[data-v-5d03e993]:last-child {
462
+ .property-heading[data-v-e94a52f3]:last-child {
463
463
  margin-right: 0;
464
464
  }
465
- .property-heading > .property-detail[data-v-5d03e993]:not(:last-of-type) {
465
+ .property-heading > .property-detail[data-v-e94a52f3]:not(:last-of-type) {
466
466
  margin-right: 0;
467
467
  }
468
- .property-name[data-v-5d03e993] {
468
+ .property-name[data-v-e94a52f3] {
469
469
  max-width: 100%;
470
470
  font-family: var(--scalar-font-code);
471
471
  font-weight: var(--scalar-semibold);
@@ -473,30 +473,30 @@ code.property-detail-value[data-v-827ea49d] {
473
473
  white-space: normal;
474
474
  overflow-wrap: break-word;
475
475
  }
476
- .property-additional[data-v-5d03e993] {
476
+ .property-additional[data-v-e94a52f3] {
477
477
  font-family: var(--scalar-font-code);
478
478
  }
479
- .property-required[data-v-5d03e993],
480
- .property-optional[data-v-5d03e993] {
479
+ .property-required[data-v-e94a52f3],
480
+ .property-optional[data-v-e94a52f3] {
481
481
  color: var(--scalar-color-2);
482
482
  }
483
- .property-required[data-v-5d03e993] {
483
+ .property-required[data-v-e94a52f3] {
484
484
  font-size: var(--scalar-mini);
485
485
  color: var(--scalar-color-orange);
486
486
  }
487
- .property-read-only[data-v-5d03e993] {
487
+ .property-read-only[data-v-e94a52f3] {
488
488
  font-size: var(--scalar-mini);
489
489
  color: var(--scalar-color-blue);
490
490
  }
491
- .property-write-only[data-v-5d03e993] {
491
+ .property-write-only[data-v-e94a52f3] {
492
492
  font-size: var(--scalar-mini);
493
493
  color: var(--scalar-color-green);
494
494
  }
495
- .property-discriminator[data-v-5d03e993] {
495
+ .property-discriminator[data-v-e94a52f3] {
496
496
  font-size: var(--scalar-mini);
497
497
  color: var(--scalar-color-purple);
498
498
  }
499
- .property-detail[data-v-5d03e993] {
499
+ .property-detail[data-v-e94a52f3] {
500
500
  font-size: var(--scalar-mini);
501
501
  color: var(--scalar-color-2);
502
502
  display: flex;
@@ -504,14 +504,14 @@ code.property-detail-value[data-v-827ea49d] {
504
504
 
505
505
  min-width: 0;
506
506
  }
507
- .property-const[data-v-5d03e993] {
507
+ .property-const[data-v-e94a52f3] {
508
508
  color: var(--scalar-color-1);
509
509
  }
510
- .deprecated[data-v-5d03e993] {
510
+ .deprecated[data-v-e94a52f3] {
511
511
  text-decoration: line-through;
512
512
  }
513
513
 
514
- .property[data-v-8da63347] {
514
+ .property[data-v-dfddcb79] {
515
515
  color: var(--scalar-color-1);
516
516
  display: flex;
517
517
  flex-direction: column;
@@ -521,7 +521,7 @@ code.property-detail-value[data-v-827ea49d] {
521
521
  }
522
522
 
523
523
  /** Remove top padding for top level schema card */
524
- .property.property--level-0[data-v-8da63347]:has(
524
+ .property.property--level-0[data-v-dfddcb79]:has(
525
525
  > .property-rule
526
526
  > .schema-card
527
527
  > .schema-properties.schema-properties-open
@@ -530,25 +530,25 @@ code.property-detail-value[data-v-827ea49d] {
530
530
  ) {
531
531
  padding-top: 0;
532
532
  }
533
- .property--compact.property--level-0[data-v-8da63347],
534
- .property--compact.property--level-1[data-v-8da63347] {
533
+ .property--compact.property--level-0[data-v-dfddcb79],
534
+ .property--compact.property--level-1[data-v-dfddcb79] {
535
535
  padding: 8px 0;
536
536
  }
537
- .composition-panel .property.property.property.property--level-0[data-v-8da63347] {
537
+ .composition-panel .property.property.property.property--level-0[data-v-dfddcb79] {
538
538
  padding: 0px;
539
539
  }
540
540
  .property--compact.property--level-0
541
541
  .composition-panel
542
- .property--compact.property--level-1[data-v-8da63347] {
542
+ .property--compact.property--level-1[data-v-dfddcb79] {
543
543
  padding: 8px;
544
544
  }
545
545
 
546
546
  /* if a property doesn't have a heading, remove the top padding */
547
- .property[data-v-8da63347]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
547
+ .property[data-v-dfddcb79]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
548
548
  padding-top: 8px;
549
549
  padding-bottom: 8px;
550
550
  }
551
- .property--deprecated[data-v-8da63347] {
551
+ .property--deprecated[data-v-dfddcb79] {
552
552
  background: repeating-linear-gradient(
553
553
  -45deg,
554
554
  var(--scalar-background-2) 0,
@@ -558,53 +558,53 @@ code.property-detail-value[data-v-827ea49d] {
558
558
  );
559
559
  background-size: 100%;
560
560
  }
561
- .property--deprecated[data-v-8da63347] > * {
561
+ .property--deprecated[data-v-dfddcb79] > * {
562
562
  opacity: 0.75;
563
563
  }
564
- .property-description[data-v-8da63347] {
564
+ .property-description[data-v-dfddcb79] {
565
565
  margin-top: 6px;
566
566
  line-height: 1.4;
567
567
  font-size: var(--scalar-small);
568
568
  }
569
- .property-description[data-v-8da63347]:has(+ .property-rule) {
569
+ .property-description[data-v-dfddcb79]:has(+ .property-rule) {
570
570
  margin-bottom: 9px;
571
571
  }
572
- [data-v-8da63347] .property-description * {
572
+ [data-v-dfddcb79] .property-description * {
573
573
  color: var(--scalar-color-2) !important;
574
574
  }
575
- .property[data-v-8da63347]:not(:last-of-type) {
575
+ .property[data-v-dfddcb79]:not(:last-of-type) {
576
576
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
577
577
  }
578
- .property-description + .children[data-v-8da63347],
579
- .children + .property-rule[data-v-8da63347] {
578
+ .property-description + .children[data-v-dfddcb79],
579
+ .children + .property-rule[data-v-dfddcb79] {
580
580
  margin-top: 9px;
581
581
  }
582
- .children[data-v-8da63347] {
582
+ .children[data-v-dfddcb79] {
583
583
  display: flex;
584
584
  flex-direction: column;
585
585
  }
586
- .children .property--compact.property--level-1[data-v-8da63347] {
586
+ .children .property--compact.property--level-1[data-v-dfddcb79] {
587
587
  padding: 12px;
588
588
  }
589
- .property-example-value[data-v-8da63347] {
589
+ .property-example-value[data-v-dfddcb79] {
590
590
  all: unset;
591
591
  font-family: var(--scalar-font-code);
592
592
  padding: 6px;
593
593
  border-top: var(--scalar-border-width) solid var(--scalar-border-color);
594
594
  }
595
- .property-rule[data-v-8da63347] {
595
+ .property-rule[data-v-dfddcb79] {
596
596
  border-radius: var(--scalar-radius-lg);
597
597
  display: flex;
598
598
  flex-direction: column;
599
599
  }
600
- .property-rule[data-v-8da63347]
600
+ .property-rule[data-v-dfddcb79]
601
601
 
602
602
  .composition-panel .schema-card .schema-properties.schema-properties-open
603
603
  {
604
604
  border-top-left-radius: 0;
605
605
  border-top-right-radius: 0;
606
606
  }
607
- .property-rule[data-v-8da63347]
607
+ .property-rule[data-v-dfddcb79]
608
608
  .composition-panel > .schema-card > .schema-card-description {
609
609
  padding-left: 8px;
610
610
  padding-right: 8px;
@@ -614,29 +614,29 @@ code.property-detail-value[data-v-827ea49d] {
614
614
  margin-top: 0;
615
615
  }
616
616
  }
617
- .property-example[data-v-8da63347] {
617
+ .property-example[data-v-dfddcb79] {
618
618
  background: transparent;
619
619
  border: none;
620
620
  display: flex;
621
621
  flex-direction: row;
622
622
  gap: 8px;
623
623
  }
624
- .property-example-label[data-v-8da63347],
625
- .property-example-value[data-v-8da63347] {
624
+ .property-example-label[data-v-dfddcb79],
625
+ .property-example-value[data-v-dfddcb79] {
626
626
  padding: 3px 0 0 0;
627
627
  }
628
- .property-example-value[data-v-8da63347] {
628
+ .property-example-value[data-v-dfddcb79] {
629
629
  background: var(--scalar-background-2);
630
630
  border-top: 0;
631
631
  border-radius: var(--scalar-radius);
632
632
  padding: 3px 4px;
633
633
  }
634
- .property-name[data-v-8da63347] {
634
+ .property-name[data-v-dfddcb79] {
635
635
  font-family: var(--scalar-font-code);
636
636
  font-weight: var(--scalar-semibold);
637
637
  }
638
- .property-name-additional-properties[data-v-8da63347]::before,
639
- .property-name-pattern-properties[data-v-8da63347]::before {
638
+ .property-name-additional-properties[data-v-dfddcb79]::before,
639
+ .property-name-pattern-properties[data-v-dfddcb79]::before {
640
640
  text-transform: uppercase;
641
641
  font-size: var(--scalar-micro);
642
642
  display: inline-block;
@@ -647,10 +647,10 @@ code.property-detail-value[data-v-827ea49d] {
647
647
  background-color: var(--scalar-background-2);
648
648
  margin-right: 4px;
649
649
  }
650
- .property-name-pattern-properties[data-v-8da63347]::before {
650
+ .property-name-pattern-properties[data-v-dfddcb79]::before {
651
651
  content: 'regex';
652
652
  }
653
- .property-name-additional-properties[data-v-8da63347]::before {
653
+ .property-name-additional-properties[data-v-dfddcb79]::before {
654
654
  content: 'unknown property name';
655
655
  }
656
656
 
@@ -658,20 +658,20 @@ code.property-detail-value[data-v-827ea49d] {
658
658
  display: inline;
659
659
  }
660
660
 
661
- .reference-models-anchor[data-v-161968a4] {
661
+ .reference-models-anchor[data-v-e4ca3c0f] {
662
662
  display: flex;
663
663
  align-items: center;
664
664
  font-size: 20px;
665
665
  padding-left: 6px;
666
666
  color: var(--scalar-color-1);
667
667
  }
668
- .reference-models-label[data-v-161968a4] {
668
+ .reference-models-label[data-v-e4ca3c0f] {
669
669
  display: block;
670
670
  font-size: var(--scalar-mini);
671
671
  }
672
672
 
673
673
  /* Style the "icon" */
674
- .reference-models-label[data-v-161968a4] em {
674
+ .reference-models-label[data-v-e4ca3c0f] em {
675
675
  font-weight: var(--scalar-bold);
676
676
  }
677
677
 
@@ -10472,7 +10472,7 @@ input[data-v-3157c3c7]::placeholder {
10472
10472
  min-width: 100%;
10473
10473
  overflow: auto;
10474
10474
  }
10475
- .scalar-code-block[data-v-32d6d6ca] .hljs * {
10475
+ .scalar-code-block[data-v-8ae4f555] .hljs * {
10476
10476
  font-size: var(--scalar-small);
10477
10477
  }
10478
10478
  .ascii-art-animate .ascii-art-line[data-v-69ebd973] {
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.44.11",
23
+ "version": "1.44.12",
24
24
  "engines": {
25
25
  "node": ">=20"
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/agent-chat": "0.5.2",
89
- "@scalar/api-client": "2.23.2",
90
- "@scalar/components": "0.17.3",
88
+ "@scalar/api-client": "2.23.3",
89
+ "@scalar/agent-chat": "0.5.3",
90
+ "@scalar/code-highlight": "0.2.2",
91
91
  "@scalar/helpers": "0.2.11",
92
92
  "@scalar/icons": "0.5.2",
93
- "@scalar/oas-utils": "0.6.33",
94
- "@scalar/code-highlight": "0.2.2",
95
- "@scalar/openapi-parser": "0.24.7",
93
+ "@scalar/oas-utils": "0.6.34",
96
94
  "@scalar/openapi-types": "0.5.3",
97
- "@scalar/sidebar": "0.7.26",
95
+ "@scalar/components": "0.17.4",
96
+ "@scalar/sidebar": "0.7.27",
98
97
  "@scalar/snippetz": "0.6.11",
99
- "@scalar/themes": "0.14.0",
100
98
  "@scalar/types": "0.6.2",
101
99
  "@scalar/use-hooks": "0.3.7",
100
+ "@scalar/openapi-parser": "0.24.7",
102
101
  "@scalar/use-toasts": "0.9.1",
103
- "@scalar/workspace-store": "0.28.2"
102
+ "@scalar/themes": "0.14.0",
103
+ "@scalar/workspace-store": "0.28.3"
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.3.37",
121
+ "@scalar/build-tooling": "0.4.1",
122
122
  "@scalar/galaxy": "0.5.12",
123
123
  "@scalar/react-renderer": "0.3.0",
124
- "@scalar/build-tooling": "0.4.1"
124
+ "@scalar/core": "0.3.37"
125
125
  },
126
126
  "scripts": {
127
127
  "build": "pnpm build:default && pnpm build:standalone && pnpm types:build",