@scalar/api-reference 1.49.6 → 1.49.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/dist/style.css CHANGED
@@ -7723,12 +7723,12 @@ input[data-v-c1a50a6e]::placeholder {
7723
7723
  .scalar-app .h-64 {
7724
7724
  height: 256px;
7725
7725
  }
7726
+ .scalar-app .h-125 {
7727
+ height: 500px;
7728
+ }
7726
7729
  .scalar-app .h-\[68px\] {
7727
7730
  height: 68px;
7728
7731
  }
7729
- .scalar-app .h-\[500px\] {
7730
- height: 500px;
7731
- }
7732
7732
  .scalar-app .h-\[calc\(100\%-273\.5px\)\] {
7733
7733
  height: calc(100% - 273.5px);
7734
7734
  }
@@ -10052,6 +10052,9 @@ input[data-v-c1a50a6e]::placeholder {
10052
10052
  .app-platform-mac :is(.scalar-app .mac\:app-drag-region) {
10053
10053
  -webkit-app-region: drag;
10054
10054
  }
10055
+ .scalar-app .\[\&_\.monaco-editor\]\:rounded-lg .monaco-editor, .scalar-app .\[\&_\.overflow-guard\]\:rounded-lg .overflow-guard {
10056
+ border-radius: var(--scalar-radius-lg);
10057
+ }
10055
10058
  .scalar-app .\[\&\>label\]\:bg-transparent > label {
10056
10059
  background-color: #0000;
10057
10060
  }
@@ -11334,23 +11337,23 @@ to {
11334
11337
  padding: 0;
11335
11338
  overflow: hidden;
11336
11339
  }
11337
- .editor-container[data-v-850fff8f] {
11340
+ .editor-container[data-v-e99ee660] {
11338
11341
  width: 100%;
11339
11342
  height: 100%;
11340
11343
  }
11341
- [data-v-850fff8f] .json-path-highlight {
11344
+ [data-v-e99ee660] .json-path-highlight {
11342
11345
  background-color: #ffc80059;
11343
11346
  border-radius: 4px;
11344
11347
  }
11345
- [data-v-850fff8f] .json-focus-highlight {
11348
+ [data-v-e99ee660] .json-focus-highlight {
11346
11349
  background-color: var(--scalar-color-accent, #24b47e);
11347
11350
  }
11348
11351
  @supports (color: color-mix(in lab, red, red)) {
11349
- [data-v-850fff8f] .json-focus-highlight {
11352
+ [data-v-e99ee660] .json-focus-highlight {
11350
11353
  background-color: color-mix(in srgb, var(--scalar-color-accent, #24b47e) 18%, transparent);
11351
11354
  }
11352
11355
  }
11353
- [data-v-850fff8f] .json-focus-highlight {
11356
+ [data-v-e99ee660] .json-focus-highlight {
11354
11357
  border-radius: 4px;
11355
11358
  }
11356
11359
  [data-v-28c8509c] .cm-editor {
@@ -13515,7 +13518,7 @@ div + .userMessage[data-v-8e43ed7a] {
13515
13518
 
13516
13519
  /* Configurable Layout Variables */
13517
13520
  @layer scalar-config {
13518
- .scalar-api-reference[data-v-274a4872] {
13521
+ .scalar-api-reference[data-v-4a2e1b67] {
13519
13522
  /* The header height */
13520
13523
  --refs-header-height: calc(
13521
13524
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -13537,20 +13540,20 @@ div + .userMessage[data-v-8e43ed7a] {
13537
13540
  /* The maximum width of the content column */
13538
13541
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
13539
13542
  }
13540
- .scalar-api-reference.references-classic[data-v-274a4872] {
13543
+ .scalar-api-reference.references-classic[data-v-4a2e1b67] {
13541
13544
  /* Classic layout is wider */
13542
13545
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
13543
13546
  min-height: 100dvh;
13544
13547
  --refs-sidebar-width: 0;
13545
13548
  }
13546
13549
  }
13547
- .t-doc__sidebar[data-v-274a4872] {
13550
+ .t-doc__sidebar[data-v-4a2e1b67] {
13548
13551
  z-index: 10;
13549
13552
  }
13550
13553
 
13551
13554
  /* ----------------------------------------------------- */
13552
13555
  /* References Layout */
13553
- .references-layout[data-v-274a4872] {
13556
+ .references-layout[data-v-4a2e1b67] {
13554
13557
  /* Try to fill the container */
13555
13558
  min-height: 100dvh;
13556
13559
  min-width: 100%;
@@ -13574,44 +13577,44 @@ div + .userMessage[data-v-8e43ed7a] {
13574
13577
 
13575
13578
  background: var(--scalar-background-1);
13576
13579
  }
13577
- .references-editor[data-v-274a4872] {
13580
+ .references-editor[data-v-4a2e1b67] {
13578
13581
  grid-area: editor;
13579
13582
  display: flex;
13580
13583
  min-width: 0;
13581
13584
  background: var(--scalar-background-1);
13582
13585
  }
13583
- .references-rendered[data-v-274a4872] {
13586
+ .references-rendered[data-v-4a2e1b67] {
13584
13587
  position: relative;
13585
13588
  grid-area: rendered;
13586
13589
  min-width: 0;
13587
13590
  background: var(--scalar-background-1);
13588
13591
  }
13589
- .scalar-api-reference.references-classic[data-v-274a4872],
13590
- .references-classic .references-rendered[data-v-274a4872] {
13592
+ .scalar-api-reference.references-classic[data-v-4a2e1b67],
13593
+ .references-classic .references-rendered[data-v-4a2e1b67] {
13591
13594
  height: initial !important;
13592
13595
  max-height: initial !important;
13593
13596
  }
13594
13597
  @layer scalar-config {
13595
- .references-sidebar[data-v-274a4872] {
13598
+ .references-sidebar[data-v-4a2e1b67] {
13596
13599
  /* Set a default width if references are enabled */
13597
13600
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
13598
13601
  }
13599
13602
  }
13600
13603
 
13601
13604
  /* Footer */
13602
- .references-footer[data-v-274a4872] {
13605
+ .references-footer[data-v-4a2e1b67] {
13603
13606
  grid-area: footer;
13604
13607
  }
13605
13608
  /* ----------------------------------------------------- */
13606
13609
  /* Responsive / Mobile Layout */
13607
13610
  @media (max-width: 1000px) {
13608
13611
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
13609
- .references-developer-tools[data-v-274a4872] {
13612
+ .references-developer-tools[data-v-4a2e1b67] {
13610
13613
  display: none;
13611
13614
  }
13612
13615
 
13613
13616
  /* Stack view on mobile */
13614
- .references-layout[data-v-274a4872] {
13617
+ .references-layout[data-v-4a2e1b67] {
13615
13618
  /* Adjust the sidebar height to the viewport height minus the header height */
13616
13619
  --refs-sidebar-height: calc(
13617
13620
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -13626,13 +13629,13 @@ div + .userMessage[data-v-8e43ed7a] {
13626
13629
  'rendered'
13627
13630
  'footer';
13628
13631
  }
13629
- .references-editable[data-v-274a4872] {
13632
+ .references-editable[data-v-4a2e1b67] {
13630
13633
  grid-template-areas:
13631
13634
  'header'
13632
13635
  'navigation'
13633
13636
  'editor';
13634
13637
  }
13635
- .references-rendered[data-v-274a4872] {
13638
+ .references-rendered[data-v-4a2e1b67] {
13636
13639
  position: static;
13637
13640
  }
13638
13641
  }
@@ -13643,12 +13646,12 @@ div + .userMessage[data-v-8e43ed7a] {
13643
13646
  * when the new elements are available
13644
13647
  */
13645
13648
  @media (max-width: 1000px) {
13646
- .scalar-api-references-standalone-mobile[data-v-274a4872]:not(.references-classic) {
13649
+ .scalar-api-references-standalone-mobile[data-v-4a2e1b67]:not(.references-classic) {
13647
13650
  --scalar-header-height: 50px;
13648
13651
  }
13649
13652
  }
13650
13653
 
13651
- .darklight-reference[data-v-274a4872] {
13654
+ .darklight-reference[data-v-4a2e1b67] {
13652
13655
  width: 100%;
13653
13656
  margin-top: auto;
13654
13657
  }
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.49.6",
23
+ "version": "1.49.7",
24
24
  "engines": {
25
25
  "node": ">=22"
26
26
  },
@@ -91,17 +91,17 @@
91
91
  "nanoid": "^5.1.6",
92
92
  "vue": "^3.5.26",
93
93
  "yaml": "^2.8.0",
94
- "@scalar/api-client": "2.39.2",
94
+ "@scalar/agent-chat": "0.9.16",
95
+ "@scalar/api-client": "2.39.3",
95
96
  "@scalar/code-highlight": "0.3.1",
96
97
  "@scalar/components": "0.21.1",
97
- "@scalar/agent-chat": "0.9.15",
98
- "@scalar/helpers": "0.4.2",
99
- "@scalar/icons": "0.7.0",
100
98
  "@scalar/oas-utils": "0.10.13",
99
+ "@scalar/helpers": "0.4.2",
101
100
  "@scalar/openapi-types": "0.6.1",
102
101
  "@scalar/sidebar": "0.8.15",
103
- "@scalar/snippetz": "0.7.7",
102
+ "@scalar/icons": "0.7.0",
104
103
  "@scalar/types": "0.7.5",
104
+ "@scalar/snippetz": "0.7.7",
105
105
  "@scalar/use-hooks": "0.4.1",
106
106
  "@scalar/themes": "0.15.1",
107
107
  "@scalar/use-toasts": "0.10.1",