@scalar/api-reference-react 0.9.46 → 0.9.47

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @scalar/api-reference-react
2
2
 
3
+ ## 0.9.47
4
+
3
5
  ## 0.9.46
4
6
 
5
7
  ## 0.9.45
package/dist/style.css CHANGED
@@ -799,7 +799,7 @@
799
799
  .hljs.language-objectivec .hljs-meta {
800
800
  color: var(--scalar-color-1);
801
801
  }
802
- .hljs.language-objectivec .hljs-built_in, .hljs-built_in {
802
+ .hljs.language-objectivec .hljs-built_in {
803
803
  color: var(--scalar-color-orange);
804
804
  }
805
805
  .scalar-app .markdown {
@@ -1432,7 +1432,7 @@
1432
1432
  }
1433
1433
  :where(body) > .scalar-tooltip {
1434
1434
  --scalar-tooltip-padding: 8px;
1435
- padding: calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));
1435
+ padding: var(--scalar-tooltip-padding);
1436
1436
  z-index: 99999;
1437
1437
  max-width: 320px;
1438
1438
  font-size: var(--scalar-font-size-5);
@@ -1442,9 +1442,20 @@
1442
1442
  overflow-wrap: break-word;
1443
1443
  color: var(--scalar-tooltip-color);
1444
1444
  }
1445
+ :where(body) > .scalar-tooltip[data-side="top"] {
1446
+ padding-bottom: calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));
1447
+ }
1448
+ :where(body) > .scalar-tooltip[data-side="bottom"] {
1449
+ padding-top: calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));
1450
+ }
1451
+ :where(body) > .scalar-tooltip[data-side="left"] {
1452
+ padding-right: calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));
1453
+ }
1454
+ :where(body) > .scalar-tooltip[data-side="right"] {
1455
+ padding-left: calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));
1456
+ }
1445
1457
  :where(body) > .scalar-tooltip:before {
1446
1458
  content: "";
1447
- inset: var(--scalar-tooltip-offset);
1448
1459
  z-index: calc(1 * -1);
1449
1460
  border-radius: var(--scalar-radius);
1450
1461
  background-color: var(--scalar-tooltip-background);
@@ -1452,6 +1463,19 @@
1452
1463
  -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
1453
1464
  backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
1454
1465
  position: absolute;
1466
+ inset: 0;
1467
+ }
1468
+ :where(body) > .scalar-tooltip[data-side="top"]:before {
1469
+ bottom: var(--scalar-tooltip-offset);
1470
+ }
1471
+ :where(body) > .scalar-tooltip[data-side="bottom"]:before {
1472
+ top: var(--scalar-tooltip-offset);
1473
+ }
1474
+ :where(body) > .scalar-tooltip[data-side="left"]:before {
1475
+ right: var(--scalar-tooltip-offset);
1476
+ }
1477
+ :where(body) > .scalar-tooltip[data-side="right"]:before {
1478
+ left: var(--scalar-tooltip-offset);
1455
1479
  }
1456
1480
  :where(body.dark-mode) > .scalar-tooltip:before {
1457
1481
  --tw-shadow: inset 0 0 0 var(--tw-shadow-color, var(--scalar-border-width)) var(--scalar-border-color);
@@ -1654,22 +1678,22 @@
1654
1678
  .address-bar-history-button[data-v-12140f4f]:focus-within {
1655
1679
  background: var(--scalar-background-2);
1656
1680
  }
1657
- [data-v-3118bf46] .cm-editor {
1681
+ [data-v-d6fb2049] .cm-editor {
1658
1682
  background: none;
1659
1683
  outline: none;
1660
1684
  height: 100%;
1661
1685
  padding: 0;
1662
1686
  }
1663
- [data-v-3118bf46] .cm-placeholder {
1687
+ [data-v-d6fb2049] .cm-placeholder {
1664
1688
  color: var(--scalar-color-3);
1665
1689
  }
1666
- [data-v-3118bf46] .cm-content {
1690
+ [data-v-d6fb2049] .cm-content {
1667
1691
  font-family: var(--scalar-font-code);
1668
1692
  font-size: var(--scalar-small);
1669
1693
  max-height: 20px;
1670
1694
  padding: 8px 0;
1671
1695
  }
1672
- [data-v-3118bf46] .cm-tooltip {
1696
+ [data-v-d6fb2049] .cm-tooltip {
1673
1697
  filter: brightness(var(--scalar-lifted-brightness));
1674
1698
  border-radius: var(--scalar-radius);
1675
1699
  box-shadow: var(--scalar-shadow-2);
@@ -1678,39 +1702,39 @@
1678
1702
  outline: none !important;
1679
1703
  overflow: hidden !important;
1680
1704
  }
1681
- [data-v-3118bf46] .cm-tooltip-autocomplete ul li {
1705
+ [data-v-d6fb2049] .cm-tooltip-autocomplete ul li {
1682
1706
  padding: 3px 6px !important;
1683
1707
  }
1684
- [data-v-3118bf46] .cm-completionIcon-type:after {
1708
+ [data-v-d6fb2049] .cm-completionIcon-type:after {
1685
1709
  color: var(--scalar-color-3) !important;
1686
1710
  }
1687
- [data-v-3118bf46] .cm-tooltip-autocomplete ul li[aria-selected] {
1711
+ [data-v-d6fb2049] .cm-tooltip-autocomplete ul li[aria-selected] {
1688
1712
  background: var(--scalar-background-2) !important;
1689
1713
  color: var(--scalar-color-1) !important;
1690
1714
  }
1691
- [data-v-3118bf46] .cm-tooltip-autocomplete ul {
1715
+ [data-v-d6fb2049] .cm-tooltip-autocomplete ul {
1692
1716
  position: relative;
1693
1717
  padding: 6px !important;
1694
1718
  }
1695
- [data-v-3118bf46] .cm-tooltip-autocomplete ul li:hover {
1719
+ [data-v-d6fb2049] .cm-tooltip-autocomplete ul li:hover {
1696
1720
  border-radius: 3px;
1697
1721
  color: var(--scalar-color-1) !important;
1698
1722
  background: var(--scalar-background-3) !important;
1699
1723
  }
1700
- [data-v-3118bf46] .cm-activeLine, [data-v-3118bf46] .cm-activeLineGutter {
1724
+ [data-v-d6fb2049] .cm-activeLine, [data-v-d6fb2049] .cm-activeLineGutter {
1701
1725
  background-color: #0000;
1702
1726
  }
1703
- [data-v-3118bf46] .cm-selectionMatch, [data-v-3118bf46] .cm-matchingBracket {
1727
+ [data-v-d6fb2049] .cm-selectionMatch, [data-v-d6fb2049] .cm-matchingBracket {
1704
1728
  border-radius: var(--scalar-radius);
1705
1729
  background: var(--scalar-background-4) !important;
1706
1730
  }
1707
- [data-v-3118bf46] .cm-css-color-picker-wrapper {
1731
+ [data-v-d6fb2049] .cm-css-color-picker-wrapper {
1708
1732
  outline: 1px solid var(--scalar-background-3);
1709
1733
  border-radius: 3px;
1710
1734
  display: inline-flex;
1711
1735
  overflow: hidden;
1712
1736
  }
1713
- [data-v-3118bf46] .cm-gutters {
1737
+ [data-v-d6fb2049] .cm-gutters {
1714
1738
  color: var(--scalar-color-3);
1715
1739
  font-size: var(--scalar-small);
1716
1740
  background-color: #0000;
@@ -1718,7 +1742,7 @@
1718
1742
  border-radius: 0 0 0 3px;
1719
1743
  line-height: 22px;
1720
1744
  }
1721
- [data-v-3118bf46] .cm-gutters:before {
1745
+ [data-v-d6fb2049] .cm-gutters:before {
1722
1746
  content: "";
1723
1747
  border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
1724
1748
  background-color: var(--scalar-background-1);
@@ -1728,7 +1752,7 @@
1728
1752
  top: 2px;
1729
1753
  left: 2px;
1730
1754
  }
1731
- [data-v-3118bf46] .cm-gutterElement {
1755
+ [data-v-d6fb2049] .cm-gutterElement {
1732
1756
  justify-content: flex-end;
1733
1757
  align-items: center;
1734
1758
  display: flex;
@@ -1737,16 +1761,16 @@
1737
1761
  padding-left: 0 !important;
1738
1762
  padding-right: 6px !important;
1739
1763
  }
1740
- [data-v-3118bf46] .cm-lineNumbers .cm-gutterElement {
1764
+ [data-v-d6fb2049] .cm-lineNumbers .cm-gutterElement {
1741
1765
  min-width: fit-content;
1742
1766
  }
1743
- [data-v-3118bf46] .cm-gutter + .cm-gutter :not(.cm-foldGutter) .cm-gutterElement {
1767
+ [data-v-d6fb2049] .cm-gutter + .cm-gutter :not(.cm-foldGutter) .cm-gutterElement {
1744
1768
  padding-left: 0 !important;
1745
1769
  }
1746
- [data-v-3118bf46] .cm-scroller {
1770
+ [data-v-d6fb2049] .cm-scroller {
1747
1771
  overflow: auto;
1748
1772
  }
1749
- .line-wrapping[data-v-3118bf46]:focus-within .cm-content {
1773
+ .line-wrapping[data-v-d6fb2049]:focus-within .cm-content {
1750
1774
  white-space: break-spaces;
1751
1775
  word-break: break-all;
1752
1776
  min-height: fit-content;
@@ -1831,49 +1855,49 @@
1831
1855
  .description[data-v-649f9a0d] .markdown > :first-child {
1832
1856
  margin-top: 0;
1833
1857
  }
1834
- [data-v-372238a6] .cm-editor {
1858
+ [data-v-d37cbfcc] .cm-editor {
1835
1859
  outline: none;
1836
1860
  width: 100%;
1837
1861
  height: 100%;
1838
1862
  }
1839
- [data-v-372238a6] .cm-line {
1863
+ [data-v-d37cbfcc] .cm-line {
1840
1864
  padding: 0;
1841
1865
  }
1842
- [data-v-372238a6] .cm-content {
1866
+ [data-v-d37cbfcc] .cm-content {
1843
1867
  font-size: var(--scalar-small);
1844
1868
  align-items: center;
1845
1869
  padding: 0;
1846
1870
  display: flex;
1847
1871
  }
1848
- .scroll-timeline-x[data-v-372238a6] {
1872
+ .scroll-timeline-x[data-v-d37cbfcc] {
1849
1873
  -ms-overflow-style: none;
1850
1874
  -webkit-mask-image: linear-gradient(to right, #0000 0, #000 6px calc(100% - 24px), #0000 100%);
1851
1875
  mask-image: linear-gradient(to right, #0000 0, #000 6px calc(100% - 24px), #0000 100%);
1852
1876
  }
1853
- .scroll-timeline-x-hidden[data-v-372238a6] {
1877
+ .scroll-timeline-x-hidden[data-v-d37cbfcc] {
1854
1878
  overflow-x: auto;
1855
1879
  }
1856
- .scroll-timeline-x-hidden[data-v-372238a6] .cm-scroller {
1880
+ .scroll-timeline-x-hidden[data-v-d37cbfcc] .cm-scroller {
1857
1881
  scrollbar-width: none;
1858
1882
  -ms-overflow-style: none;
1859
1883
  padding-right: 20px;
1860
1884
  overflow: auto;
1861
1885
  }
1862
- .scroll-timeline-x-hidden[data-v-372238a6]::-webkit-scrollbar {
1886
+ .scroll-timeline-x-hidden[data-v-d37cbfcc]::-webkit-scrollbar {
1863
1887
  width: 0;
1864
1888
  height: 0;
1865
1889
  display: none;
1866
1890
  }
1867
- .scroll-timeline-x-hidden[data-v-372238a6] .cm-scroller::-webkit-scrollbar {
1891
+ .scroll-timeline-x-hidden[data-v-d37cbfcc] .cm-scroller::-webkit-scrollbar {
1868
1892
  width: 0;
1869
1893
  height: 0;
1870
1894
  display: none;
1871
1895
  }
1872
- .scroll-timeline-x-address[data-v-372238a6] {
1896
+ .scroll-timeline-x-address[data-v-d37cbfcc] {
1873
1897
  scrollbar-width: none;
1874
1898
  line-height: 27px;
1875
1899
  }
1876
- .scroll-timeline-x-address[data-v-372238a6]:after {
1900
+ .scroll-timeline-x-address[data-v-d37cbfcc]:after {
1877
1901
  content: "";
1878
1902
  cursor: text;
1879
1903
  width: 24px;
@@ -1881,30 +1905,33 @@
1881
1905
  position: absolute;
1882
1906
  right: 0;
1883
1907
  }
1884
- .scroll-timeline-x-address[data-v-372238a6]:empty:before {
1908
+ .scroll-timeline-x-address[data-v-d37cbfcc]:empty:before {
1885
1909
  content: "Enter URL or cURL request";
1886
1910
  color: var(--scalar-color-3);
1887
1911
  pointer-events: none;
1888
1912
  }
1889
- .address-bar-bg-states[data-v-372238a6] {
1913
+ .address-bar-bg-states[data-v-d37cbfcc] {
1890
1914
  --scalar-address-bar-bg: var(--scalar-background-1);
1891
1915
  }
1892
1916
  @supports (color: color-mix(in lab, red, red)) {
1893
- .address-bar-bg-states[data-v-372238a6] {
1917
+ .address-bar-bg-states[data-v-d37cbfcc] {
1894
1918
  --scalar-address-bar-bg: color-mix(in srgb,
1895
1919
  var(--scalar-background-1),
1896
1920
  var(--scalar-background-2));
1897
1921
  }
1898
1922
  }
1899
- .address-bar-bg-states[data-v-372238a6] {
1923
+ .address-bar-bg-states[data-v-d37cbfcc] {
1900
1924
  background: var(--scalar-address-bar-bg);
1901
1925
  }
1902
- .address-bar-bg-states[data-v-372238a6]:has(.cm-focused) {
1926
+ .address-bar-bg-states[data-v-d37cbfcc]:has(.cm-focused) {
1903
1927
  --scalar-address-bar-bg: var(--scalar-background-1);
1904
1928
  border-color: var(--scalar-border-color);
1905
1929
  outline-width: 1px;
1906
1930
  outline-style: solid;
1907
1931
  }
1932
+ .address-bar-bg-states:has(.cm-focused) .fade-left[data-v-d37cbfcc], .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-d37cbfcc] {
1933
+ --scalar-address-bar-bg: var(--scalar-background-1);
1934
+ }
1908
1935
  .app-exit-button[data-v-42c563b3] {
1909
1936
  color: #fff;
1910
1937
  background: #0000001a;
@@ -1990,33 +2017,107 @@
1990
2017
  .context-bar-group:hover .context-bar-group-hover\:hidden[data-v-07ff8fc3], .context-bar-group:has(:focus-visible) .context-bar-group-hover\:hidden[data-v-07ff8fc3] {
1991
2018
  display: none;
1992
2019
  }
1993
- [data-v-36811e28] .cm-editor {
1994
- padding: 0;
2020
+ .code-input-lite[data-v-1974e80d] {
2021
+ align-items: center;
2022
+ display: flex;
1995
2023
  }
1996
- [data-v-36811e28] .cm-content {
1997
- font-family: var(--scalar-font);
1998
- font-size: var(--scalar-small);
1999
- background-color: #0000;
2024
+ .code-input-lite__editor[data-v-1974e80d] {
2025
+ font: inherit;
2026
+ letter-spacing: inherit;
2027
+ min-width: 0;
2028
+ color: var(--scalar-color-1);
2029
+ caret-color: var(--scalar-color-1);
2030
+ white-space: pre;
2031
+ scrollbar-width: none;
2032
+ box-sizing: border-box;
2033
+ background: none;
2034
+ outline: none;
2035
+ flex: 1;
2036
+ padding: 0 .5em;
2037
+ line-height: 1.44;
2038
+ position: relative;
2039
+ overflow: auto hidden;
2040
+ }
2041
+ .code-input-lite__editor[data-v-1974e80d]::-webkit-scrollbar {
2042
+ display: none;
2043
+ }
2044
+ .code-input-lite--empty .code-input-lite__editor[data-v-1974e80d]:not(:focus):before {
2045
+ content: attr(data-placeholder);
2046
+ color: var(--scalar-color-3);
2047
+ pointer-events: none;
2000
2048
  align-items: center;
2001
- width: 100%;
2002
- padding: 5px 8px;
2003
2049
  display: flex;
2050
+ position: absolute;
2051
+ top: 0;
2052
+ bottom: 0;
2053
+ left: .5em;
2054
+ }
2055
+ .code-input-lite--error .code-input-lite__editor[data-v-1974e80d] {
2056
+ outline: 1px solid var(--scalar-color-red);
2057
+ }
2058
+ .scalar-pill {
2059
+ color: var(--scalar-color-2);
2060
+ font-family: var(--scalar-font-code);
2061
+ vertical-align: baseline;
2062
+ background: var(--scalar-background-3);
2063
+ cursor: text;
2064
+ -webkit-user-select: all;
2065
+ user-select: all;
2066
+ border-radius: 30px;
2067
+ margin-right: .35em;
2068
+ padding: .125em .6em;
2069
+ font-size: .9em;
2070
+ line-height: 1.4;
2071
+ display: inline-block;
2072
+ }
2073
+ .dark-mode .scalar-pill {
2074
+ background: var(--tw-bg-base, var(--scalar-color-1));
2075
+ }
2076
+ @supports (color: color-mix(in lab, red, red)) {
2077
+ .dark-mode .scalar-pill {
2078
+ background: color-mix(in srgb, var(--tw-bg-base, var(--scalar-color-1)), transparent 90%);
2079
+ }
2080
+ }
2081
+ .light-mode .scalar-pill {
2082
+ background: var(--scalar-background-3);
2004
2083
  }
2005
- [data-v-36811e28] .cm-content:has(.cm-pill) {
2084
+ .scalar-pill--context-fn {
2085
+ box-shadow: 0 0 0 1px var(--scalar-color-3) inset;
2086
+ }
2087
+ @supports (color: color-mix(in lab, red, red)) {
2088
+ .scalar-pill--context-fn {
2089
+ box-shadow: 0 0 0 1px color-mix(in srgb, var(--scalar-color-3), transparent 35%) inset;
2090
+ }
2091
+ }
2092
+ .dark-mode .scalar-pill--context-fn {
2093
+ background: var(--scalar-background-3);
2094
+ }
2095
+ @supports (color: color-mix(in lab, red, red)) {
2096
+ .dark-mode .scalar-pill--context-fn {
2097
+ background: color-mix(in srgb, var(--scalar-background-3), transparent 55%);
2098
+ }
2099
+ }
2100
+ .light-mode .scalar-pill--context-fn {
2101
+ background: var(--scalar-background-3);
2102
+ }
2103
+ @supports (color: color-mix(in lab, red, red)) {
2104
+ .light-mode .scalar-pill--context-fn {
2105
+ background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
2106
+ }
2107
+ }
2108
+ [data-v-e83eb7d0] .code-input-lite__editor {
2109
+ font-family: var(--scalar-font);
2110
+ font-size: var(--scalar-small);
2111
+ background-color: #0000;
2006
2112
  padding: 5px 8px;
2007
2113
  }
2008
- [data-v-36811e28] .cm-content .cm-pill:not(:last-of-type) {
2009
- margin-right: .5px;
2114
+ [data-v-e83eb7d0] .scalar-pill:not(:last-of-type) {
2115
+ margin-right: .15em;
2010
2116
  }
2011
- [data-v-36811e28] .cm-content .cm-pill:not(:first-of-type) {
2117
+ [data-v-e83eb7d0] .scalar-pill:not(:first-of-type) {
2012
2118
  margin-left: .5px;
2013
2119
  }
2014
- [data-v-36811e28] .cm-line {
2015
- text-overflow: ellipsis;
2016
- padding: 0;
2017
- overflow: hidden;
2018
- }
2019
- .filemask[data-v-36811e28] {
2120
+ .filemask[data-v-e83eb7d0] {
2020
2121
  -webkit-mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
2021
2122
  -webkit-mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
2022
2123
  mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
@@ -2049,40 +2150,25 @@
2049
2150
  -ms-overflow-style: none;
2050
2151
  scrollbar-width: none;
2051
2152
  }
2052
- [data-v-1ee3c31d] .cm-editor {
2053
- padding: 0;
2054
- }
2055
- [data-v-1ee3c31d] .cm-content {
2153
+ [data-v-a6f4752a] .code-input-lite__editor {
2056
2154
  font-family: var(--scalar-font);
2057
2155
  font-size: var(--scalar-small);
2058
2156
  background-color: #0000;
2059
- align-items: center;
2060
- width: 100%;
2061
2157
  padding: 5px 8px;
2062
- display: flex;
2063
2158
  }
2064
- [data-v-1ee3c31d] .cm-content:has(.cm-pill) {
2065
- padding: 5px 8px;
2066
- }
2067
- [data-v-1ee3c31d] .cm-content .cm-pill:not(:last-of-type) {
2068
- margin-right: .5px;
2159
+ [data-v-a6f4752a] .scalar-pill:not(:last-of-type) {
2160
+ margin-right: .15em;
2069
2161
  }
2070
- [data-v-1ee3c31d] .cm-content .cm-pill:not(:first-of-type) {
2162
+ [data-v-a6f4752a] .scalar-pill:not(:first-of-type) {
2071
2163
  margin-left: .5px;
2072
2164
  }
2073
- [data-v-1ee3c31d] .cm-line {
2074
- text-overflow: ellipsis;
2075
- word-break: break-word;
2076
- padding: 0;
2077
- overflow: hidden;
2078
- }
2079
- .required[data-v-1ee3c31d]:after {
2165
+ .required[data-v-a6f4752a]:after {
2080
2166
  content: "Required";
2081
2167
  }
2082
- input[data-v-1ee3c31d]::placeholder {
2168
+ input[data-v-a6f4752a]::placeholder {
2083
2169
  color: var(--scalar-color-3);
2084
2170
  }
2085
- .scalar-password-input[data-v-1ee3c31d] {
2171
+ .scalar-password-input[data-v-a6f4752a] {
2086
2172
  text-security: disc;
2087
2173
  -webkit-text-security: disc;
2088
2174
  -moz-text-security: disc;
@@ -2275,32 +2361,18 @@ input[data-v-1ee3c31d]::placeholder {
2275
2361
  position: absolute;
2276
2362
  inset: 0;
2277
2363
  }
2278
- [data-v-69be2d6c] .cm-editor {
2279
- padding: 0;
2280
- }
2281
- [data-v-69be2d6c] .cm-content {
2364
+ [data-v-5b336842] .code-input-lite__editor {
2282
2365
  font-family: var(--scalar-font);
2283
2366
  font-size: var(--scalar-small);
2284
2367
  background-color: #0000;
2285
- align-items: center;
2286
- width: 100%;
2287
2368
  padding: 5px 8px;
2288
- display: flex;
2289
2369
  }
2290
- [data-v-69be2d6c] .cm-content:has(.cm-pill) {
2291
- padding: 5px 8px;
2370
+ [data-v-5b336842] .scalar-pill:not(:last-of-type) {
2371
+ margin-right: .15em;
2292
2372
  }
2293
- [data-v-69be2d6c] .cm-content .cm-pill:not(:last-of-type) {
2294
- margin-right: .5px;
2295
- }
2296
- [data-v-69be2d6c] .cm-content .cm-pill:not(:first-of-type) {
2373
+ [data-v-5b336842] .scalar-pill:not(:first-of-type) {
2297
2374
  margin-left: .5px;
2298
2375
  }
2299
- [data-v-69be2d6c] .cm-line {
2300
- text-overflow: ellipsis;
2301
- padding: 0;
2302
- overflow: hidden;
2303
- }
2304
2376
  .scalar .scalar-app-layout[data-v-77897d1c] {
2305
2377
  background: var(--scalar-background-1);
2306
2378
  border: var(--scalar-border-width) solid var(--scalar-border-color);
@@ -3821,9 +3893,15 @@ div + .userMessage[data-v-8e43ed7a] {
3821
3893
  .scalar-app .inset-y-0\.5 {
3822
3894
  inset-block: 2px;
3823
3895
  }
3896
+ .scalar-app .-start {
3897
+ inset-inline-start: -4px;
3898
+ }
3824
3899
  .scalar-app .start {
3825
3900
  inset-inline-start: 4px;
3826
3901
  }
3902
+ .scalar-app .-end {
3903
+ inset-inline-end: -4px;
3904
+ }
3827
3905
  .scalar-app .end {
3828
3906
  inset-inline-end: 4px;
3829
3907
  }
@@ -4150,6 +4228,9 @@ div + .userMessage[data-v-8e43ed7a] {
4150
4228
  .scalar-app .mt-3 {
4151
4229
  margin-top: 12px;
4152
4230
  }
4231
+ .scalar-app .mt-4 {
4232
+ margin-top: 16px;
4233
+ }
4153
4234
  .scalar-app .mt-6 {
4154
4235
  margin-top: 24px;
4155
4236
  }
@@ -4415,9 +4496,18 @@ div + .userMessage[data-v-8e43ed7a] {
4415
4496
  .scalar-app .h-8 {
4416
4497
  height: 32px;
4417
4498
  }
4499
+ .scalar-app .h-9 {
4500
+ height: 36px;
4501
+ }
4418
4502
  .scalar-app .h-10 {
4419
4503
  height: 40px;
4420
4504
  }
4505
+ .scalar-app .h-20 {
4506
+ height: 80px;
4507
+ }
4508
+ .scalar-app .h-28 {
4509
+ height: 112px;
4510
+ }
4421
4511
  .scalar-app .h-\[calc\(100\%\+16px\)\] {
4422
4512
  height: calc(100% + 16px);
4423
4513
  }
@@ -4547,21 +4637,36 @@ div + .userMessage[data-v-8e43ed7a] {
4547
4637
  .scalar-app .w-1\.5 {
4548
4638
  width: 6px;
4549
4639
  }
4640
+ .scalar-app .w-1\/2 {
4641
+ width: 50%;
4642
+ }
4550
4643
  .scalar-app .w-2\.5 {
4551
4644
  width: 10px;
4552
4645
  }
4553
4646
  .scalar-app .w-2\.25 {
4554
4647
  width: 9px;
4555
4648
  }
4649
+ .scalar-app .w-2\/3 {
4650
+ width: 66.6667%;
4651
+ }
4556
4652
  .scalar-app .w-3 {
4557
4653
  width: 12px;
4558
4654
  }
4655
+ .scalar-app .w-3\/4 {
4656
+ width: 75%;
4657
+ }
4658
+ .scalar-app .w-3\/5 {
4659
+ width: 60%;
4660
+ }
4559
4661
  .scalar-app .w-4 {
4560
4662
  width: 16px;
4561
4663
  }
4562
4664
  .scalar-app .w-4\.5 {
4563
4665
  width: 18px;
4564
4666
  }
4667
+ .scalar-app .w-4\/5 {
4668
+ width: 80%;
4669
+ }
4565
4670
  .scalar-app .w-5 {
4566
4671
  width: 20px;
4567
4672
  }
@@ -4574,6 +4679,21 @@ div + .userMessage[data-v-8e43ed7a] {
4574
4679
  .scalar-app .w-8 {
4575
4680
  width: 32px;
4576
4681
  }
4682
+ .scalar-app .w-11\/12 {
4683
+ width: 91.6667%;
4684
+ }
4685
+ .scalar-app .w-12 {
4686
+ width: 48px;
4687
+ }
4688
+ .scalar-app .w-14 {
4689
+ width: 56px;
4690
+ }
4691
+ .scalar-app .w-24 {
4692
+ width: 96px;
4693
+ }
4694
+ .scalar-app .w-28 {
4695
+ width: 112px;
4696
+ }
4577
4697
  .scalar-app .w-36 {
4578
4698
  width: 144px;
4579
4699
  }
@@ -4846,6 +4966,9 @@ div + .userMessage[data-v-8e43ed7a] {
4846
4966
  .scalar-app .auto-rows-auto {
4847
4967
  grid-auto-rows: auto;
4848
4968
  }
4969
+ .scalar-app .grid-cols-1 {
4970
+ grid-template-columns: repeat(1, minmax(0, 1fr));
4971
+ }
4849
4972
  .scalar-app .grid-cols-2 {
4850
4973
  grid-template-columns: repeat(2, minmax(0, 1fr));
4851
4974
  }
@@ -4927,6 +5050,9 @@ div + .userMessage[data-v-8e43ed7a] {
4927
5050
  .scalar-app .gap-4 {
4928
5051
  gap: 16px;
4929
5052
  }
5053
+ .scalar-app .gap-5 {
5054
+ gap: 20px;
5055
+ }
4930
5056
  .scalar-app .gap-6 {
4931
5057
  gap: 24px;
4932
5058
  }
@@ -6238,13 +6364,13 @@ div + .userMessage[data-v-8e43ed7a] {
6238
6364
  .scalar-app .group-has-focus-visible\/heading\:opacity-100:is(:where(.group\/heading):has(:focus-visible) *) {
6239
6365
  opacity: 1;
6240
6366
  }
6241
- .scalar-app .group-has-\[\.cm-focused\]\:z-1:is(:where(.group):has(.cm-focused) *) {
6367
+ .scalar-app .group-has-\[\.cm-focused\]\:z-1:is(:where(.group):has(.cm-focused) *), .scalar-app .group-has-\[\.code-input-lite__editor\:focus\]\:z-1:is(:where(.group):has(:is(.code-input-lite editor:focus)) *) {
6242
6368
  z-index: 1;
6243
6369
  }
6244
- .scalar-app .group-has-\[\.cm-focused\]\:flex:is(:where(.group):has(.cm-focused) *) {
6370
+ .scalar-app .group-has-\[\.code-input-lite__editor\:focus\]\:flex:is(:where(.group):has(:is(.code-input-lite editor:focus)) *) {
6245
6371
  display: flex;
6246
6372
  }
6247
- .scalar-app .group-has-\[\.cm-focused\]\:pr-10:is(:where(.group):has(.cm-focused) *) {
6373
+ .scalar-app .group-has-\[\.code-input-lite__editor\:focus\]\:pr-10:is(:where(.group):has(:is(.code-input-lite editor:focus)) *) {
6248
6374
  padding-right: 40px;
6249
6375
  }
6250
6376
  .scalar-app .group-has-\[\:focus-visible\]\/cell\:border-c-accent:is(:where(.group\/cell):has(:focus-visible) *) {
@@ -6338,7 +6464,7 @@ div + .userMessage[data-v-8e43ed7a] {
6338
6464
  .scalar-app .peer-focus-visible\/button\:opacity-100:is(:where(.peer\/button):focus-visible ~ *) {
6339
6465
  opacity: 1;
6340
6466
  }
6341
- .scalar-app .peer-has-\[\.cm-focused\]\:opacity-0:is(:where(.peer):has(.cm-focused) ~ *) {
6467
+ .scalar-app .peer-has-\[\.cm-focused\]\:opacity-0:is(:where(.peer):has(.cm-focused) ~ *), .scalar-app .peer-has-\[\.code-input-lite__editor\:focus\]\:opacity-0:is(:where(.peer):has(:is(.code-input-lite editor:focus)) ~ *) {
6342
6468
  opacity: 0;
6343
6469
  }
6344
6470
  .scalar-app .peer-has-\[\.color-selector\]\:hidden:is(:where(.peer):has(.color-selector) ~ *) {
@@ -6673,6 +6799,15 @@ div + .userMessage[data-v-8e43ed7a] {
6673
6799
  padding-left: 56px;
6674
6800
  }
6675
6801
  }
6802
+ @media (min-width: 600px) {
6803
+ .scalar-app .sm\:flex-row {
6804
+ flex-direction: row;
6805
+ }
6806
+
6807
+ .scalar-app .sm\:gap-6 {
6808
+ gap: 24px;
6809
+ }
6810
+ }
6676
6811
  @media (min-width: 800px) {
6677
6812
  .scalar-app .md\:pointer-events-none {
6678
6813
  pointer-events: none;
@@ -6784,10 +6919,18 @@ div + .userMessage[data-v-8e43ed7a] {
6784
6919
  min-width: 0;
6785
6920
  }
6786
6921
 
6922
+ .scalar-app .xl\:grid-cols-2 {
6923
+ grid-template-columns: repeat(2, minmax(0, 1fr));
6924
+ }
6925
+
6787
6926
  .scalar-app .xl\:flex-row {
6788
6927
  flex-direction: row;
6789
6928
  }
6790
6929
 
6930
+ .scalar-app .xl\:justify-end {
6931
+ justify-content: flex-end;
6932
+ }
6933
+
6791
6934
  .scalar-app .xl\:gap-12 {
6792
6935
  gap: 48px;
6793
6936
  }
@@ -7645,6 +7788,44 @@ to {
7645
7788
  .icons-only[data-v-b59b0acf] span {
7646
7789
  display: none;
7647
7790
  }
7791
+ .section-column[data-v-699c28e3] {
7792
+ flex: 1;
7793
+ min-width: 0;
7794
+ }
7795
+ @container narrow-references-container (max-width: 900px) {
7796
+ .section-column[data-v-699c28e3]:nth-of-type(2) {
7797
+ padding-top: 0;
7798
+ }
7799
+ }
7800
+ .section-columns[data-v-8b9602bf] {
7801
+ display: flex;
7802
+ gap: 48px;
7803
+ }
7804
+ @container narrow-references-container (max-width: 900px) {
7805
+ .section-columns[data-v-8b9602bf] {
7806
+ flex-direction: column;
7807
+ gap: 24px;
7808
+ }
7809
+ }
7810
+ .sticky-cards[data-v-1bd6e256] {
7811
+ display: flex;
7812
+ flex-direction: column;
7813
+ position: sticky;
7814
+ top: calc(var(--refs-viewport-offset) + 24px);
7815
+ }
7816
+ /* Pulsing placeholder, matching the look of the rest of the loading states. */
7817
+ .introduction-skeleton[data-v-1bd6e256] {
7818
+ background: var(--scalar-background-3);
7819
+ animation: introduction-skeleton-pulse-1bd6e256 1.5s infinite alternate;
7820
+ }
7821
+ @keyframes introduction-skeleton-pulse-1bd6e256 {
7822
+ from {
7823
+ opacity: 1;
7824
+ }
7825
+ to {
7826
+ opacity: 0.33;
7827
+ }
7828
+ }
7648
7829
  .section[data-v-be4443e9] {
7649
7830
  position: relative;
7650
7831
  display: flex;
@@ -7674,25 +7855,6 @@ to {
7674
7855
  .section[data-v-be4443e9]:not(:last-of-type) {
7675
7856
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
7676
7857
  }
7677
- .section-column[data-v-699c28e3] {
7678
- flex: 1;
7679
- min-width: 0;
7680
- }
7681
- @container narrow-references-container (max-width: 900px) {
7682
- .section-column[data-v-699c28e3]:nth-of-type(2) {
7683
- padding-top: 0;
7684
- }
7685
- }
7686
- .section-columns[data-v-8b9602bf] {
7687
- display: flex;
7688
- gap: 48px;
7689
- }
7690
- @container narrow-references-container (max-width: 900px) {
7691
- .section-columns[data-v-8b9602bf] {
7692
- flex-direction: column;
7693
- gap: 24px;
7694
- }
7695
- }
7696
7858
  .section-container[data-v-20a1472a] {
7697
7859
  position: relative;
7698
7860
  padding: 0 60px;
@@ -7707,52 +7869,23 @@ to {
7707
7869
  padding: 0;
7708
7870
  }
7709
7871
  }
7710
- .loading[data-v-8e0226d7] {
7711
- background: var(--scalar-background-3);
7712
- animation: loading-skeleton-8e0226d7 1.5s infinite alternate;
7713
- border-radius: var(--scalar-radius-lg);
7714
- min-height: 1.6em;
7715
- margin: 0.6em 0;
7716
- max-width: 100%;
7717
- }
7718
- .loading[data-v-8e0226d7]:first-of-type {
7719
- min-height: 3em;
7720
- margin-bottom: 24px;
7721
- margin-top: 0;
7722
- }
7723
- .loading[data-v-8e0226d7]:last-of-type {
7724
- width: 60%;
7725
- }
7726
- .loading.single-line[data-v-8e0226d7] {
7727
- min-height: 3em;
7728
- margin: 0.6em 0;
7729
- max-width: 80%;
7730
- }
7731
- @keyframes loading-skeleton-8e0226d7 {
7732
- from {
7733
- opacity: 1;
7734
- }
7735
- to {
7736
- opacity: 0.33;
7737
- }
7738
- }
7739
7872
  @container narrow-references-container (max-width: 900px) {
7740
- .section-content--with-columns[data-v-9735459e] {
7873
+ .section-content--with-columns[data-v-6101128d] {
7741
7874
  flex-direction: column;
7742
7875
  gap: 24px;
7743
7876
  }
7744
7877
  }
7745
7878
  /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
7746
- .section-header-wrapper[data-v-8a5913a9] {
7879
+ .section-header-wrapper[data-v-09a18ec6] {
7747
7880
  grid-template-columns: 1fr;
7748
7881
  display: grid;
7749
7882
  }
7750
7883
  @media (min-width: 1200px) {
7751
- .section-header-wrapper[data-v-8a5913a9] {
7884
+ .section-header-wrapper[data-v-09a18ec6] {
7752
7885
  grid-template-columns: repeat(2, 1fr);
7753
7886
  }
7754
7887
  }
7755
- .section-header[data-v-8a5913a9] {
7888
+ .section-header[data-v-09a18ec6] {
7756
7889
  font-size: var(--font-size, var(--scalar-heading-1));
7757
7890
  font-weight: var(--font-weight, var(--scalar-bold));
7758
7891
  color: var(--scalar-color-1);
@@ -7760,16 +7893,13 @@ to {
7760
7893
  margin-top: 0;
7761
7894
  line-height: 1.45;
7762
7895
  }
7763
- .section-header.tight[data-v-8a5913a9] {
7896
+ .section-header.tight[data-v-09a18ec6] {
7764
7897
  margin-bottom: 6px;
7765
7898
  }
7766
- .section-header.loading[data-v-8a5913a9] {
7767
- width: 80%;
7768
- }
7769
7899
  .section-header-label[data-v-f1ac6c38] {
7770
7900
  display: inline;
7771
7901
  }
7772
- .sticky-cards[data-v-bd137508] {
7902
+ .sticky-cards[data-v-4e3a9e30] {
7773
7903
  display: flex;
7774
7904
  flex-direction: column;
7775
7905
  position: sticky;
@@ -8029,14 +8159,14 @@ to {
8029
8159
  font-family: var(--scalar-font-code);
8030
8160
  color: var(--scalar-color-1);
8031
8161
  }
8032
- .error[data-v-dc6746ff] {
8162
+ .error[data-v-4d9df79c] {
8033
8163
  background-color: var(--scalar-color-red);
8034
8164
  }
8035
- .schema-card[data-v-dc6746ff] {
8165
+ .schema-card[data-v-4d9df79c] {
8036
8166
  font-size: var(--scalar-font-size-4);
8037
8167
  color: var(--scalar-color-1);
8038
8168
  }
8039
- .schema-card-title[data-v-dc6746ff] {
8169
+ .schema-card-title[data-v-4d9df79c] {
8040
8170
  height: var(--schema-title-height);
8041
8171
 
8042
8172
  padding: 6px 8px;
@@ -8050,48 +8180,48 @@ to {
8050
8180
  font-size: var(--scalar-mini);
8051
8181
  border-bottom: var(--scalar-border-width) solid transparent;
8052
8182
  }
8053
- button.schema-card-title[data-v-dc6746ff] {
8183
+ button.schema-card-title[data-v-4d9df79c] {
8054
8184
  cursor: pointer;
8055
8185
  }
8056
- button.schema-card-title[data-v-dc6746ff]:hover {
8186
+ button.schema-card-title[data-v-4d9df79c]:hover {
8057
8187
  color: var(--scalar-color-1);
8058
8188
  }
8059
- .schema-card-title-icon--open[data-v-dc6746ff] {
8189
+ .schema-card-title-icon--open[data-v-4d9df79c] {
8060
8190
  transform: rotate(45deg);
8061
8191
  }
8062
- .schema-properties-open > .schema-card-title[data-v-dc6746ff] {
8192
+ .schema-properties-open > .schema-card-title[data-v-4d9df79c] {
8063
8193
  border-bottom-left-radius: 0;
8064
8194
  border-bottom-right-radius: 0;
8065
8195
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8066
8196
  }
8067
- .schema-properties-open > .schema-properties[data-v-dc6746ff] {
8197
+ .schema-properties-open > .schema-properties[data-v-4d9df79c] {
8068
8198
  width: fit-content;
8069
8199
  }
8070
- .schema-card-description[data-v-dc6746ff] {
8200
+ .schema-card-description[data-v-4d9df79c] {
8071
8201
  color: var(--scalar-color-2);
8072
8202
  }
8073
- .schema-card-description + .schema-properties[data-v-dc6746ff] {
8203
+ .schema-card-description + .schema-properties[data-v-4d9df79c] {
8074
8204
  width: fit-content;
8075
8205
  }
8076
- .schema-card-description + .schema-properties[data-v-dc6746ff] {
8206
+ .schema-card-description + .schema-properties[data-v-4d9df79c] {
8077
8207
  margin-top: 8px;
8078
8208
  }
8079
8209
  .schema-card--level-0:nth-of-type(1)
8080
- > .schema-card-description[data-v-dc6746ff]:has(+ .schema-properties) {
8210
+ > .schema-card-description[data-v-4d9df79c]:has(+ .schema-properties) {
8081
8211
  margin-bottom: -8px;
8082
8212
  padding-bottom: 8px;
8083
8213
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8084
8214
  }
8085
8215
  .schema-card--level-0
8086
8216
  ~ .schema-card--level-0
8087
- > .schema-card-description[data-v-dc6746ff]:has(+ .schema-properties) {
8217
+ > .schema-card-description[data-v-4d9df79c]:has(+ .schema-properties) {
8088
8218
  padding-top: 8px;
8089
8219
  }
8090
- .schema-properties-open.schema-properties[data-v-dc6746ff],
8091
- .schema-properties-open > .schema-card--open[data-v-dc6746ff] {
8220
+ .schema-properties-open.schema-properties[data-v-4d9df79c],
8221
+ .schema-properties-open > .schema-card--open[data-v-4d9df79c] {
8092
8222
  width: 100%;
8093
8223
  }
8094
- .schema-properties[data-v-dc6746ff] {
8224
+ .schema-properties[data-v-4d9df79c] {
8095
8225
  display: flex;
8096
8226
  flex-direction: column;
8097
8227
 
@@ -8099,63 +8229,63 @@ button.schema-card-title[data-v-dc6746ff]:hover {
8099
8229
  border-radius: var(--scalar-radius-lg);
8100
8230
  width: fit-content;
8101
8231
  }
8102
- .schema-properties-name[data-v-dc6746ff] {
8232
+ .schema-properties-name[data-v-4d9df79c] {
8103
8233
  width: 100%;
8104
8234
  }
8105
- .schema-properties .schema-properties[data-v-dc6746ff] {
8235
+ .schema-properties .schema-properties[data-v-4d9df79c] {
8106
8236
  border-radius: 13.5px;
8107
8237
  }
8108
- .schema-properties .schema-properties.schema-properties-open[data-v-dc6746ff] {
8238
+ .schema-properties .schema-properties.schema-properties-open[data-v-4d9df79c] {
8109
8239
  border-radius: var(--scalar-radius-lg);
8110
8240
  }
8111
- .schema-properties-open[data-v-dc6746ff] {
8241
+ .schema-properties-open[data-v-4d9df79c] {
8112
8242
  width: 100%;
8113
8243
  }
8114
- .schema-card--compact[data-v-dc6746ff] {
8244
+ .schema-card--compact[data-v-4d9df79c] {
8115
8245
  align-self: flex-start;
8116
8246
  }
8117
- .schema-card--compact.schema-card--open[data-v-dc6746ff] {
8247
+ .schema-card--compact.schema-card--open[data-v-4d9df79c] {
8118
8248
  align-self: initial;
8119
8249
  }
8120
- .schema-card-title--compact[data-v-dc6746ff] {
8250
+ .schema-card-title--compact[data-v-4d9df79c] {
8121
8251
  color: var(--scalar-color-2);
8122
8252
  padding: 6px 10px 6px 8px;
8123
8253
  height: auto;
8124
8254
  border-bottom: none;
8125
8255
  }
8126
- .schema-card-title--compact > .schema-card-title-icon[data-v-dc6746ff] {
8256
+ .schema-card-title--compact > .schema-card-title-icon[data-v-4d9df79c] {
8127
8257
  margin: 0;
8128
8258
  }
8129
- .schema-card-title--compact > .schema-card-title-icon--open[data-v-dc6746ff] {
8259
+ .schema-card-title--compact > .schema-card-title-icon--open[data-v-4d9df79c] {
8130
8260
  transform: rotate(45deg);
8131
8261
  }
8132
- .schema-properties-open > .schema-card-title--compact[data-v-dc6746ff] {
8262
+ .schema-properties-open > .schema-card-title--compact[data-v-4d9df79c] {
8133
8263
  position: static;
8134
8264
  }
8135
8265
  .property--level-0
8136
8266
  > .schema-properties
8137
8267
  > .schema-card--level-0
8138
- > .schema-properties[data-v-dc6746ff] {
8268
+ > .schema-properties[data-v-4d9df79c] {
8139
8269
  border: none;
8140
8270
  }
8141
8271
  .property--level-0
8142
8272
  .schema-card--level-0:not(.schema-card--compact)
8143
- .property--level-1[data-v-dc6746ff] {
8273
+ .property--level-1[data-v-4d9df79c] {
8144
8274
  padding: 0 0 8px;
8145
8275
  }
8146
8276
  :not(.composition-panel)
8147
8277
  > .schema-card--compact.schema-card--level-0
8148
- > .schema-properties[data-v-dc6746ff] {
8278
+ > .schema-properties[data-v-4d9df79c] {
8149
8279
  border: none;
8150
8280
  }
8151
- [data-v-dc6746ff] .schema-card-description p {
8281
+ [data-v-4d9df79c] .schema-card-description p {
8152
8282
  font-size: var(--scalar-small, var(--scalar-paragraph));
8153
8283
  color: var(--scalar-color-2);
8154
8284
  margin-bottom: 0;
8155
8285
  display: block;
8156
8286
  margin-bottom: 6px;
8157
8287
  }
8158
- .children .schema-card-description[data-v-dc6746ff]:first-of-type {
8288
+ .children .schema-card-description[data-v-4d9df79c]:first-of-type {
8159
8289
  padding-top: 0;
8160
8290
  }
8161
8291
  .property-enum-value[data-v-4375ecfd] {
@@ -8474,7 +8604,7 @@ code.property-detail-value[data-v-1295f965] {
8474
8604
  .deprecated[data-v-e4c4fffd] {
8475
8605
  text-decoration: line-through;
8476
8606
  }
8477
- .property[data-v-471bb5bb] {
8607
+ .property[data-v-e16b102d] {
8478
8608
  color: var(--scalar-color-1);
8479
8609
  display: flex;
8480
8610
  flex-direction: column;
@@ -8483,7 +8613,7 @@ code.property-detail-value[data-v-1295f965] {
8483
8613
  position: relative;
8484
8614
  }
8485
8615
  /** Remove top padding for top level schema card */
8486
- .property.property--level-0[data-v-471bb5bb]:has(
8616
+ .property.property--level-0[data-v-e16b102d]:has(
8487
8617
  > .property-rule
8488
8618
  > .schema-card
8489
8619
  > .schema-properties.schema-properties-open
@@ -8492,24 +8622,24 @@ code.property-detail-value[data-v-1295f965] {
8492
8622
  ) {
8493
8623
  padding-top: 0;
8494
8624
  }
8495
- .property--compact.property--level-0[data-v-471bb5bb],
8496
- .property--compact.property--level-1[data-v-471bb5bb] {
8625
+ .property--compact.property--level-0[data-v-e16b102d],
8626
+ .property--compact.property--level-1[data-v-e16b102d] {
8497
8627
  padding: 10px 0;
8498
8628
  }
8499
- .composition-panel .property.property.property.property--level-0[data-v-471bb5bb] {
8629
+ .composition-panel .property.property.property.property--level-0[data-v-e16b102d] {
8500
8630
  padding: 0px;
8501
8631
  }
8502
8632
  .property--compact.property--level-0
8503
8633
  .composition-panel
8504
- .property--compact.property--level-1[data-v-471bb5bb] {
8634
+ .property--compact.property--level-1[data-v-e16b102d] {
8505
8635
  padding: 8px;
8506
8636
  }
8507
8637
  /* if a property doesn't have a heading, remove the top padding */
8508
- .property[data-v-471bb5bb]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
8638
+ .property[data-v-e16b102d]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
8509
8639
  padding-top: 8px;
8510
8640
  padding-bottom: 8px;
8511
8641
  }
8512
- .property--deprecated[data-v-471bb5bb] {
8642
+ .property--deprecated[data-v-e16b102d] {
8513
8643
  background: repeating-linear-gradient(
8514
8644
  -45deg,
8515
8645
  var(--scalar-background-2) 0,
@@ -8519,49 +8649,49 @@ code.property-detail-value[data-v-1295f965] {
8519
8649
  );
8520
8650
  background-size: 100%;
8521
8651
  }
8522
- .property--deprecated[data-v-471bb5bb] > * {
8652
+ .property--deprecated[data-v-e16b102d] > * {
8523
8653
  opacity: 0.75;
8524
8654
  }
8525
- .property-description[data-v-471bb5bb] {
8655
+ .property-description[data-v-e16b102d] {
8526
8656
  margin-top: 6px;
8527
8657
  line-height: 1.4;
8528
8658
  font-size: var(--scalar-small);
8529
8659
  }
8530
- .property-description[data-v-471bb5bb]:has(+ .property-rule) {
8660
+ .property-description[data-v-e16b102d]:has(+ .property-rule) {
8531
8661
  margin-bottom: 9px;
8532
8662
  }
8533
- [data-v-471bb5bb] .property-description * {
8663
+ [data-v-e16b102d] .property-description * {
8534
8664
  color: var(--scalar-color-2) !important;
8535
8665
  }
8536
- .property[data-v-471bb5bb]:not(:last-of-type) {
8666
+ .property[data-v-e16b102d]:not(:last-of-type) {
8537
8667
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8538
8668
  }
8539
- .property-description + .children[data-v-471bb5bb],
8540
- .children + .property-rule[data-v-471bb5bb] {
8669
+ .property-description + .children[data-v-e16b102d],
8670
+ .children + .property-rule[data-v-e16b102d] {
8541
8671
  margin-top: 9px;
8542
8672
  }
8543
- .children[data-v-471bb5bb] {
8673
+ .children[data-v-e16b102d] {
8544
8674
  display: flex;
8545
8675
  flex-direction: column;
8546
8676
  }
8547
- .children .property--compact.property--level-1[data-v-471bb5bb] {
8677
+ .children .property--compact.property--level-1[data-v-e16b102d] {
8548
8678
  padding: 12px;
8549
8679
  }
8550
- .property-example-value[data-v-471bb5bb] {
8680
+ .property-example-value[data-v-e16b102d] {
8551
8681
  all: unset;
8552
8682
  font-family: var(--scalar-font-code);
8553
8683
  padding: 6px;
8554
8684
  border-top: var(--scalar-border-width) solid var(--scalar-border-color);
8555
8685
  }
8556
- .property-rule[data-v-471bb5bb] {
8686
+ .property-rule[data-v-e16b102d] {
8557
8687
  border-radius: var(--scalar-radius-lg);
8558
8688
  display: flex;
8559
8689
  flex-direction: column;
8560
8690
  }
8561
- .property--level-2[data-v-471bb5bb] .relative > button {
8691
+ .property--level-2[data-v-e16b102d] .relative > button {
8562
8692
  left: -2rem;
8563
8693
  }
8564
- .property-rule[data-v-471bb5bb]
8694
+ .property-rule[data-v-e16b102d]
8565
8695
 
8566
8696
  .composition-panel
8567
8697
  .schema-card--level-1
@@ -8569,7 +8699,7 @@ code.property-detail-value[data-v-1295f965] {
8569
8699
  {
8570
8700
  border-radius: 0 0 var(--scalar-radius-lg) var(--scalar-radius-lg);
8571
8701
  }
8572
- .property-rule[data-v-471bb5bb]
8702
+ .property-rule[data-v-e16b102d]
8573
8703
  .composition-panel > .schema-card > .schema-card-description {
8574
8704
  padding: 10px;
8575
8705
  border-left: var(--scalar-border-width) solid var(--scalar-border-color);
@@ -8578,29 +8708,29 @@ code.property-detail-value[data-v-1295f965] {
8578
8708
  margin-top: 0;
8579
8709
  }
8580
8710
  }
8581
- .property-example[data-v-471bb5bb] {
8711
+ .property-example[data-v-e16b102d] {
8582
8712
  background: transparent;
8583
8713
  border: none;
8584
8714
  display: flex;
8585
8715
  flex-direction: row;
8586
8716
  gap: 8px;
8587
8717
  }
8588
- .property-example-label[data-v-471bb5bb],
8589
- .property-example-value[data-v-471bb5bb] {
8718
+ .property-example-label[data-v-e16b102d],
8719
+ .property-example-value[data-v-e16b102d] {
8590
8720
  padding: 3px 0 0 0;
8591
8721
  }
8592
- .property-example-value[data-v-471bb5bb] {
8722
+ .property-example-value[data-v-e16b102d] {
8593
8723
  background: var(--scalar-background-2);
8594
8724
  border-top: 0;
8595
8725
  border-radius: var(--scalar-radius);
8596
8726
  padding: 3px 4px;
8597
8727
  }
8598
- .property-name[data-v-471bb5bb] {
8728
+ .property-name[data-v-e16b102d] {
8599
8729
  font-family: var(--scalar-font-code);
8600
8730
  font-weight: var(--scalar-semibold);
8601
8731
  }
8602
- .property-name-additional-properties[data-v-471bb5bb]::before,
8603
- .property-name-pattern-properties[data-v-471bb5bb]::before {
8732
+ .property-name-additional-properties[data-v-e16b102d]::before,
8733
+ .property-name-pattern-properties[data-v-e16b102d]::before {
8604
8734
  text-transform: uppercase;
8605
8735
  font-size: var(--scalar-micro);
8606
8736
  display: inline-block;
@@ -8611,11 +8741,11 @@ code.property-detail-value[data-v-1295f965] {
8611
8741
  background-color: var(--scalar-background-2);
8612
8742
  margin-right: 4px;
8613
8743
  }
8614
- .property-name-pattern-properties[data-v-471bb5bb]::before {
8744
+ .property-name-pattern-properties[data-v-e16b102d]::before {
8615
8745
  content: 'regex';
8616
8746
  }
8617
- .property-name-additional-properties[data-v-471bb5bb],
8618
- .property-name-pattern-properties[data-v-471bb5bb] {
8747
+ .property-name-additional-properties[data-v-e16b102d],
8748
+ .property-name-pattern-properties[data-v-e16b102d] {
8619
8749
  border: 1px dashed var(--scalar-border-color);
8620
8750
  color: var(--scalar-color-accent);
8621
8751
  display: inline-block;
@@ -9005,10 +9135,10 @@ button.headers-card-title[data-v-4a9699e9]:hover {
9005
9135
  padding: 10px 12px;
9006
9136
  width: 100%;
9007
9137
  }
9008
- .section-container[data-v-8f1a275c] {
9138
+ .section-container[data-v-5d1b311c] {
9009
9139
  border-top: var(--scalar-border-width) solid var(--scalar-border-color);
9010
9140
  }
9011
- .section-container[data-v-8f1a275c]:has(.show-more) {
9141
+ .section-container[data-v-5d1b311c]:has(.show-more) {
9012
9142
  background-color: color-mix(in srgb, var(--scalar-background-2), transparent);
9013
9143
  }
9014
9144
  .operation-path[data-v-ec6c8861] {
@@ -9940,7 +10070,7 @@ body {
9940
10070
  }
9941
10071
  /* Configurable Layout Variables */
9942
10072
  @layer scalar-config {
9943
- .scalar-api-reference[data-v-be46ef19] {
10073
+ .scalar-api-reference[data-v-85d24c5b] {
9944
10074
  /* The header height */
9945
10075
  --refs-header-height: calc(
9946
10076
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -9962,19 +10092,19 @@ body {
9962
10092
  /* The maximum width of the content column */
9963
10093
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
9964
10094
  }
9965
- .scalar-api-reference.references-classic[data-v-be46ef19] {
10095
+ .scalar-api-reference.references-classic[data-v-85d24c5b] {
9966
10096
  /* Classic layout is wider */
9967
10097
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
9968
10098
  min-height: 100dvh;
9969
10099
  --refs-sidebar-width: 0;
9970
10100
  }
9971
10101
  }
9972
- .t-doc__sidebar[data-v-be46ef19] {
10102
+ .t-doc__sidebar[data-v-85d24c5b] {
9973
10103
  z-index: 10;
9974
10104
  }
9975
10105
  /* ----------------------------------------------------- */
9976
10106
  /* References Layout */
9977
- .references-layout[data-v-be46ef19] {
10107
+ .references-layout[data-v-85d24c5b] {
9978
10108
  /* Try to fill the container */
9979
10109
  min-height: 100dvh;
9980
10110
  min-width: 100%;
@@ -9998,43 +10128,51 @@ body {
9998
10128
 
9999
10129
  background: var(--scalar-background-1);
10000
10130
  }
10001
- .references-editor[data-v-be46ef19] {
10131
+ .references-editor[data-v-85d24c5b] {
10002
10132
  grid-area: editor;
10003
10133
  display: flex;
10004
10134
  min-width: 0;
10005
10135
  background: var(--scalar-background-1);
10006
10136
  }
10007
- .references-rendered[data-v-be46ef19] {
10137
+ .references-rendered[data-v-85d24c5b] {
10008
10138
  position: relative;
10009
10139
  grid-area: rendered;
10010
10140
  min-width: 0;
10011
10141
  background: var(--scalar-background-1);
10012
10142
  }
10013
- .scalar-api-reference.references-classic[data-v-be46ef19],
10014
- .references-classic .references-rendered[data-v-be46ef19] {
10143
+ .scalar-api-reference.references-classic[data-v-85d24c5b],
10144
+ .references-classic .references-rendered[data-v-85d24c5b] {
10015
10145
  height: initial !important;
10016
10146
  max-height: initial !important;
10017
10147
  }
10018
10148
  @layer scalar-config {
10019
- .references-sidebar[data-v-be46ef19] {
10149
+ .references-sidebar[data-v-85d24c5b] {
10020
10150
  /* Set a default width if references are enabled */
10021
10151
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
10022
10152
  }
10023
10153
  }
10024
10154
  /* Footer */
10025
- .references-footer[data-v-be46ef19] {
10155
+ .references-footer[data-v-85d24c5b] {
10026
10156
  grid-area: footer;
10027
10157
  }
10028
10158
  /* ----------------------------------------------------- */
10029
10159
  /* Responsive / Mobile Layout */
10030
- @media (max-width: 1000px) {
10160
+ /*
10161
+ * Stop just below the `lg` breakpoint (1000px). The sidebar visibility is driven
10162
+ * by Tailwind's `lg:` variant, which is `min-width: 1000px` and therefore treats
10163
+ * exactly 1000px as desktop. A `max-width: 1000px` query would make the grid
10164
+ * switch to the mobile (stacked) layout at the very same width, so the desktop
10165
+ * sidebar would render on top of the content. `width < 1000px` is the exact
10166
+ * complement of `lg:` (`width >= 1000px`), keeping the two in sync.
10167
+ */
10168
+ @media (width < 1000px) {
10031
10169
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
10032
- .references-developer-tools[data-v-be46ef19] {
10170
+ .references-developer-tools[data-v-85d24c5b] {
10033
10171
  display: none;
10034
10172
  }
10035
10173
 
10036
10174
  /* Stack view on mobile */
10037
- .references-layout[data-v-be46ef19] {
10175
+ .references-layout[data-v-85d24c5b] {
10038
10176
  /* Adjust the sidebar height to the viewport height minus the header height */
10039
10177
  --refs-sidebar-height: calc(
10040
10178
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -10049,13 +10187,13 @@ body {
10049
10187
  'rendered'
10050
10188
  'footer';
10051
10189
  }
10052
- .references-editable[data-v-be46ef19] {
10190
+ .references-editable[data-v-85d24c5b] {
10053
10191
  grid-template-areas:
10054
10192
  'header'
10055
10193
  'navigation'
10056
10194
  'editor';
10057
10195
  }
10058
- .references-rendered[data-v-be46ef19] {
10196
+ .references-rendered[data-v-85d24c5b] {
10059
10197
  position: static;
10060
10198
  }
10061
10199
  }
@@ -10064,12 +10202,13 @@ body {
10064
10202
  * TODO: @brynn move this to the sidebar block OR the ApiReferenceStandalone component
10065
10203
  * when the new elements are available
10066
10204
  */
10067
- @media (max-width: 1000px) {
10068
- .scalar-api-references-standalone-mobile[data-v-be46ef19]:not(.references-classic) {
10205
+ /* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
10206
+ @media (width < 1000px) {
10207
+ .scalar-api-references-standalone-mobile[data-v-85d24c5b]:not(.references-classic) {
10069
10208
  --scalar-header-height: 50px;
10070
10209
  }
10071
10210
  }
10072
- .darklight-reference[data-v-be46ef19] {
10211
+ .darklight-reference[data-v-85d24c5b] {
10073
10212
  width: 100%;
10074
10213
  margin-top: auto;
10075
10214
  }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.46",
21
+ "version": "0.9.47",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@scalar/types": "0.13.3",
43
- "@scalar/api-reference": "1.59.3"
42
+ "@scalar/api-reference": "1.60.0",
43
+ "@scalar/types": "0.14.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^19.2.7",