@stainless-api/docs-ui 0.1.0-beta.60 → 0.1.0-beta.62

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 (150) hide show
  1. package/dist/{breadcrumbs-seA1JsK4.d.ts → breadcrumbs-C14t6IEW.d.ts} +3 -3
  2. package/dist/{breadcrumbs-BagP1oN2.d.ts → breadcrumbs-IxKxOsE0.d.ts} +1 -1
  3. package/dist/{breadcrumbs-85Y-pybq.js → breadcrumbs-Q76uwfdC.js} +3 -3
  4. package/dist/{cli-CoLvH9jq.js → cli-lM9nDBQl.js} +5 -5
  5. package/dist/{component-CF9lLzZX.js → component-D93BctHn.js} +3 -3
  6. package/dist/{component-generics-DS5pysMb.d.ts → component-generics-Bd4PJtTE.d.ts} +2 -2
  7. package/dist/{component-generics-BblkOh-y.d.ts → component-generics-BmJeLTNJ.d.ts} +2 -2
  8. package/dist/components/MaskedInput.d.ts +3 -3
  9. package/dist/components/MaskedInput.js +1 -1
  10. package/dist/components/breadcrumbs.d.ts +1 -1
  11. package/dist/components/breadcrumbs.js +7 -7
  12. package/dist/components/icons.d.ts +12 -12
  13. package/dist/components/icons.js +1 -1
  14. package/dist/components/index.d.ts +11 -10
  15. package/dist/components/index.js +18 -17
  16. package/dist/components/method.d.ts +1 -1
  17. package/dist/components/method.js +8 -8
  18. package/dist/components/overview.d.ts +1 -1
  19. package/dist/components/overview.js +9 -9
  20. package/dist/components/primitives.d.ts +1 -1
  21. package/dist/components/primitives.js +6 -6
  22. package/dist/components/properties.d.ts +1 -1
  23. package/dist/components/properties.js +7 -7
  24. package/dist/components/sdk-sidebar.d.ts +2 -0
  25. package/dist/components/sdk-sidebar.js +10 -0
  26. package/dist/components/sdk.d.ts +2 -2
  27. package/dist/components/sdk.js +9 -9
  28. package/dist/components/snippets.d.ts +2 -2
  29. package/dist/components/snippets.js +7 -7
  30. package/dist/components/stl-sidebar.d.ts +2 -0
  31. package/dist/components/stl-sidebar.js +5 -0
  32. package/dist/{components-Bz5h0Y4x.js → components-DmiarGZ9.js} +15 -14
  33. package/dist/contexts/component-generics.d.ts +1 -1
  34. package/dist/contexts/component-generics.js +1 -1
  35. package/dist/contexts/component-types.d.ts +11 -10
  36. package/dist/contexts/component.d.ts +14 -13
  37. package/dist/contexts/component.js +27 -26
  38. package/dist/contexts/docs.d.ts +2 -2
  39. package/dist/contexts/docs.js +2 -2
  40. package/dist/contexts/index.d.ts +17 -16
  41. package/dist/contexts/index.js +6 -6
  42. package/dist/contexts/markdown.d.ts +1 -1
  43. package/dist/contexts/markdown.js +2 -2
  44. package/dist/contexts/navigation.d.ts +1 -1
  45. package/dist/contexts/navigation.js +1 -1
  46. package/dist/contexts/use-components.d.ts +10 -9
  47. package/dist/contexts/use-components.js +2 -2
  48. package/dist/{contexts-DZfPd182.js → contexts-DMjqoc7S.js} +6 -5
  49. package/dist/{csharp-BbNnLZWW.js → csharp-BD37FKH6.js} +4 -4
  50. package/dist/{docs-Bw-eLYjA.js → docs-6PYi1eEV.js} +5 -1
  51. package/dist/{docs-DdWB4Wsv.d.ts → docs-Dzjz2m8E.d.ts} +6 -5
  52. package/dist/{docs-DFS6wkGm.d.ts → docs-cYeV7nR2.d.ts} +5 -4
  53. package/dist/{go-OFa_5xje.js → go-v-i4WDzK.js} +4 -4
  54. package/dist/{http-olFAYLFq.js → http-CXjSoAxs.js} +14 -10
  55. package/dist/{index-BdrPd64A.d.ts → index-6vTGbgXx.d.ts} +35 -35
  56. package/dist/index-C619u0I1.d.ts +16 -0
  57. package/dist/index-CiZUWHkc.d.ts +16 -0
  58. package/dist/{index-Ct7H30x1.d.ts → index-DuHyTVVD.d.ts} +1 -1
  59. package/dist/{index-CLMudlDX.d.ts → index-wOU588Um.d.ts} +35 -35
  60. package/dist/index.d.ts +16 -15
  61. package/dist/index.js +29 -28
  62. package/dist/{java-Bw0o13Wk.js → java-A6j1NMJ7.js} +5 -5
  63. package/dist/languages/cli.d.ts +11 -10
  64. package/dist/languages/cli.js +19 -18
  65. package/dist/languages/csharp.d.ts +11 -10
  66. package/dist/languages/csharp.js +7 -7
  67. package/dist/languages/go.d.ts +11 -10
  68. package/dist/languages/go.js +7 -7
  69. package/dist/languages/http.d.ts +11 -10
  70. package/dist/languages/http.js +18 -17
  71. package/dist/languages/index.d.ts +11 -10
  72. package/dist/languages/index.js +26 -25
  73. package/dist/languages/java.d.ts +11 -10
  74. package/dist/languages/java.js +7 -7
  75. package/dist/languages/python.d.ts +11 -10
  76. package/dist/languages/python.js +7 -7
  77. package/dist/languages/ruby.d.ts +11 -10
  78. package/dist/languages/ruby.js +7 -7
  79. package/dist/languages/typescript.d.ts +11 -10
  80. package/dist/languages/typescript.js +7 -7
  81. package/dist/languages-C6gLi0rP.js +28 -0
  82. package/dist/markdown/index.d.ts +2 -2
  83. package/dist/markdown/index.js +28 -27
  84. package/dist/markdown/printer.d.ts +2 -2
  85. package/dist/markdown/printer.js +29 -28
  86. package/dist/markdown/utils.d.ts +3 -3
  87. package/dist/markdown/utils.js +2 -2
  88. package/dist/{markdown-ZzVcn4kq.js → markdown-DHjcD13O.js} +1 -1
  89. package/dist/{markdown-Dyn0NA2f.d.ts → markdown-DkGIT8Kx.d.ts} +2 -2
  90. package/dist/{markdown-DtbgEdDt.d.ts → markdown-DmrCjnT8.d.ts} +2 -2
  91. package/dist/{method-CxjUvijp.d.ts → method-BlxcOrX4.d.ts} +6 -6
  92. package/dist/{method-Dktsfckf.js → method-mosT_h9v.js} +3 -3
  93. package/dist/{navigation-Dk55c7au.d.ts → navigation-865UcdP7.d.ts} +1 -1
  94. package/dist/{navigation-DLQvobDt.d.ts → navigation-CRKiHkwL.d.ts} +3 -3
  95. package/dist/{overview-rRsC-Yi_.d.ts → overview-CAxvIfWH.d.ts} +7 -7
  96. package/dist/{overview-EkRigi6e.js → overview-CDIg0UWY.js} +8 -8
  97. package/dist/{overview-DVu-9kpm.d.ts → overview-J95gyke9.d.ts} +7 -7
  98. package/dist/{primitives-DR4XbZ2t.d.ts → primitives-8XXs7qDy.d.ts} +12 -12
  99. package/dist/{primitives-BVaiiY63.js → primitives-CRiUE1em.js} +6 -6
  100. package/dist/{primitives-DP-cTr1W.d.ts → primitives-KIlfflF9.d.ts} +12 -12
  101. package/dist/{properties-Ll927UYJ.d.ts → properties-0U_JmHNb.d.ts} +5 -5
  102. package/dist/{properties-BHvUHbcf.js → properties-4w8hy0hf.js} +3 -3
  103. package/dist/{properties-lx53LZPl.d.ts → properties-hAqMR9G-.d.ts} +5 -5
  104. package/dist/{python-D8NWX7Cb.js → python-CtQJaLw5.js} +4 -4
  105. package/dist/{routing-Fzn1XfX_.js → routing-D6595ovf.js} +10 -2
  106. package/dist/{routing-sjrF8U7O.d.ts → routing-DmNHIb6b.d.ts} +13 -3
  107. package/dist/routing-Wb-T6WOm.d.ts +64 -0
  108. package/dist/routing.d.ts +2 -2
  109. package/dist/routing.js +2 -2
  110. package/dist/{ruby-DOUaLhKJ.js → ruby-DJqEHgOw.js} +5 -5
  111. package/dist/{sdk-Dhu_gfzq.d.ts → sdk-CoiDgyHc.d.ts} +20 -16
  112. package/dist/{sdk-DrK2bq-v.js → sdk-DXS8pW0X.js} +48 -18
  113. package/dist/sdk-sidebar-BoRTRjDJ.d.ts +15 -0
  114. package/dist/sdk-sidebar-CF3tb0Yl.js +36 -0
  115. package/dist/sdk-sidebar-CYjEwB-m.d.ts +15 -0
  116. package/dist/{sdk-DdW_-RBy.d.ts → sdk-swLaCpqB.d.ts} +20 -16
  117. package/dist/{snippets-Bi0ZADmt.d.ts → snippets-BPK_oVIf.d.ts} +9 -9
  118. package/dist/{snippets-CocIZMn0.d.ts → snippets-CaCkByky.d.ts} +9 -9
  119. package/dist/{snippets-D4VhtZIC.js → snippets-bh8lfniq.js} +4 -4
  120. package/dist/spec.d.ts +2 -2
  121. package/dist/spec.js +5 -5
  122. package/dist/stl-sidebar-BQvhLYPO.d.ts +45 -0
  123. package/dist/stl-sidebar-BSx0HI2z.d.ts +45 -0
  124. package/dist/stl-sidebar-DdxZx2KK.js +82 -0
  125. package/dist/{style-TeAZuiHh.js → style-Bxr5gqcM.js} +4 -4
  126. package/dist/style.d.ts +4 -4
  127. package/dist/style.js +1 -1
  128. package/dist/styles/primitives.css +6 -0
  129. package/dist/styles/resets.css +1 -1
  130. package/dist/styles/sidebar.css +219 -49
  131. package/dist/styles.css +231 -50
  132. package/dist/{typescript-DDa446mB.js → typescript-DA7mcN1t.js} +5 -5
  133. package/dist/{use-components-Dbin0y07.js → use-components-BUz3GbO4.js} +1 -1
  134. package/dist/{utils-BoRmEFRn.js → utils-BpKHeVMe.js} +2 -2
  135. package/dist/utils.d.ts +1 -1
  136. package/dist/utils.js +1 -1
  137. package/package.json +3 -3
  138. package/dist/components/sidebar.d.ts +0 -2
  139. package/dist/components/sidebar.js +0 -9
  140. package/dist/index-DTl8aUkb.d.ts +0 -15
  141. package/dist/index-Dp5biTf5.d.ts +0 -15
  142. package/dist/languages-DW_T-Th6.js +0 -28
  143. package/dist/sidebar-BLGIKgRI.js +0 -85
  144. package/dist/sidebar-CUaX1IBW.d.ts +0 -36
  145. package/dist/sidebar-DukWbBrE.d.ts +0 -36
  146. /package/dist/{chunk-Du3t87LU.js → chunk-BN_g-Awi.js} +0 -0
  147. /package/dist/{component-generics-CmIGbBLq.js → component-generics-POFirVVb.js} +0 -0
  148. /package/dist/{icons-DMkAA03z.js → icons-BYKn5X8E.js} +0 -0
  149. /package/dist/{method-C850sHPB.d.ts → method-DzUn_qWF.d.ts} +0 -0
  150. /package/dist/{navigation-By1sQl6M.js → navigation-aoYZ_tl4.js} +0 -0
package/dist/styles.css CHANGED
@@ -87,6 +87,11 @@ body {
87
87
  font-weight: 500;
88
88
  line-height: var(--stl-typography-line-height-heading);
89
89
  font-family: var(--stl-typography-font-heading);
90
+
91
+ text-wrap: pretty;
92
+ &:where(h1, h2, h3) {
93
+ text-wrap: balance;
94
+ }
90
95
  }
91
96
 
92
97
  :where(h1:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h1) {
@@ -1329,7 +1334,7 @@ a.stl-ui-button {
1329
1334
  line-height: 1.5;
1330
1335
  letter-spacing: -0.01em;
1331
1336
 
1332
- a {
1337
+ a:not(.stl-ui-callout a) {
1333
1338
  color: inherit;
1334
1339
  cursor: pointer;
1335
1340
  text-decoration: none;
@@ -1642,6 +1647,12 @@ a.stl-ui-button {
1642
1647
  ol {
1643
1648
  list-style-type: decimal;
1644
1649
  }
1650
+
1651
+ hr {
1652
+ margin-bottom: 16px;
1653
+ border: none;
1654
+ border-bottom: 1px solid var(--stl-color-border);
1655
+ }
1645
1656
  }
1646
1657
 
1647
1658
  .stldocs-root .stldocs-input {
@@ -2787,80 +2798,250 @@ a.stl-ui-button {
2787
2798
  .stldocs-sidebar {
2788
2799
  font-family: var(--stl-typography-font);
2789
2800
  font-size: var(--stl-typography-scale-sm);
2801
+ /* Remove background color from stldocs-root reset. */
2802
+ background-color: transparent;
2803
+ --stldocs-sidebar-item-padding-inline: 12px;
2804
+ --stldocs-sidebar-item-padding-block: 6px;
2805
+ --stldocs-sidebar-indent: 12px;
2790
2806
 
2791
- a {
2792
- text-decoration: none;
2793
- color: var(--stl-color-foreground-reduced);
2807
+ ul,
2808
+ summary {
2809
+ list-style-type: none;
2794
2810
  }
2795
2811
 
2796
- .stldocs-sidebar-resource-title {
2797
- padding-bottom: 6px;
2812
+ .stldocs-expander-summary,
2813
+ .stldocs-sidebar-entry-group > a {
2814
+ font-weight: 500;
2798
2815
  }
2799
2816
 
2800
- .stldocs-sidebar-resource,
2801
- .stldocs-sidebar-method {
2802
- padding: 6px;
2817
+ .stldocs-expander-summary {
2803
2818
  display: flex;
2804
- gap: 0.5rem;
2819
+ align-items: center;
2820
+ user-select: none;
2805
2821
 
2806
- &[data-selected='true'] {
2807
- & > a,
2808
- & > details > summary > a {
2809
- color: var(--stl-color-foreground);
2822
+ .stldocs-expander-summary-icon {
2823
+ margin-left: 4px;
2824
+ opacity: 0.65;
2825
+ transition:
2826
+ opacity 0.1s ease-out,
2827
+ transform 0.1s ease-out;
2828
+ border-radius: 4px;
2829
+
2830
+ &:hover {
2831
+ background-color: var(--stl-color-background-hover);
2810
2832
  }
2811
2833
  }
2834
+
2835
+ span[aria-hidden='true'] {
2836
+ opacity: 0;
2837
+ }
2812
2838
  }
2813
2839
 
2814
- .stldocs-sidebar-resource-title {
2815
- display: block;
2840
+ .stldocs-sidebar-entry-group {
2841
+ position: relative;
2816
2842
 
2817
- a {
2818
- color: var(--stl-color-foreground);
2843
+ /* Anchor is positioned over the <details>. */
2844
+ > a {
2845
+ position: absolute;
2846
+ top: 0;
2847
+ left: 0;
2848
+ right: 0;
2849
+ padding-block: var(--stldocs-sidebar-item-padding-block);
2850
+ padding-inline: var(--stldocs-sidebar-item-padding-inline);
2851
+ }
2852
+ }
2853
+
2854
+ .stldocs-sidebar-expander[open] > .stldocs-expander-summary .stldocs-expander-summary-icon {
2855
+ opacity: 1;
2856
+ transform: rotate(90deg);
2857
+ }
2858
+
2859
+ /* List items. */
2860
+ .stldocs-sidebar-entry,
2861
+ .stldocs-expander-summary {
2862
+ margin: 0;
2863
+ border-radius: 8px;
2864
+ }
2865
+
2866
+ .stldocs-expander-summary,
2867
+ .stldocs-sidebar-entry-link a {
2868
+ cursor: pointer;
2869
+ padding: var(--stldocs-sidebar-item-padding-block) var(--stldocs-sidebar-item-padding-inline);
2870
+ }
2871
+
2872
+ .stldocs-sidebar-entry-link a:hover {
2873
+ color: var(--stl-color-foreground);
2874
+ }
2875
+
2876
+ .stldocs-sidebar-entry-link a {
2877
+ color: var(--stl-color-foreground-reduced);
2878
+ font-weight: 400;
2879
+ display: flex;
2880
+ text-decoration: none;
2881
+ span {
2882
+ font-weight: inherit;
2883
+ }
2884
+
2885
+ &:hover {
2886
+ text-decoration: underline;
2887
+ text-decoration-color: var(--stl-color-foreground-reduced);
2888
+ }
2889
+ &[aria-current='page'] {
2819
2890
  font-weight: 500;
2891
+ color: var(--stl-color-foreground);
2820
2892
  }
2821
2893
  }
2822
2894
 
2823
- .stldocs-sidebar-expander {
2824
- .stldocs-expander-summary {
2825
- cursor: pointer;
2826
- display: flex;
2895
+ /* When the sidebar entry has a link, disable pointer events on the <details> text
2896
+ so that they pass through to the <a>. */
2897
+ .stldocs-sidebar-entry-group:has(> a) .stldocs-expander-summary > span {
2898
+ pointer-events: none;
2899
+ }
2827
2900
 
2828
- & > .stldocs-expander-summary-icon {
2829
- transform: translateX(-0.5px) translateY(-0.5px);
2830
- margin-left: 8px;
2901
+ .stldocs-sidebar-entry-link:has(> a:is(:hover, [aria-current='page'])),
2902
+ .stldocs-sidebar-entry-group:has(> a:is(:hover, [aria-current='page']))
2903
+ > .stldocs-sidebar-expander
2904
+ > .stldocs-expander-summary,
2905
+ .stldocs-expander-summary:hover {
2906
+ background-color: var(--stl-color-background-hover);
2907
+ }
2831
2908
 
2832
- & > .stldocs-icon {
2833
- vertical-align: middle;
2834
- color: var(--stl-color-foreground-muted);
2835
- }
2909
+ /* Nested list items have flat left edge. */
2910
+ .stldocs-sidebar-list .stldocs-sidebar-list :is(.stldocs-expander-summary, .stldocs-sidebar-entry) {
2911
+ border-start-start-radius: 0;
2912
+ border-end-start-radius: 0;
2913
+ }
2836
2914
 
2837
- & > :last-child {
2838
- display: none;
2839
- }
2915
+ .stldocs-sidebar-list {
2916
+ padding: 0;
2917
+ }
2918
+
2919
+ .stldocs-sidebar-list .stldocs-sidebar-list .stldocs-sidebar-entry {
2920
+ border-inline-start: 1px solid var(--stl-color-border-faint);
2921
+ margin-inline-start: var(--stldocs-sidebar-indent);
2922
+ &:has(> a[aria-current='page']) {
2923
+ border-inline-start: 2px solid var(--stl-color-accent-border-strong);
2924
+ & > a {
2925
+ margin-left: -1px;
2840
2926
  }
2841
2927
  }
2928
+ }
2842
2929
 
2843
- &[open],
2844
- &[data-open='true'] {
2845
- & > .stldocs-expander-summary {
2846
- .stldocs-type-preview-content {
2847
- display: none;
2848
- }
2930
+ /* Method & resource icons. */
2849
2931
 
2850
- & > .stldocs-expander-summary-icon {
2851
- & > :first-child {
2852
- display: none;
2853
- }
2932
+ a[data-stldocs-method],
2933
+ a[data-stldocs-resource] {
2934
+ --stldocs-sidebar-icon-size-outer: 18px;
2935
+ --stldocs-sidebar-icon-margin: 8px;
2936
+ }
2937
+ a[data-stldocs-method] {
2938
+ --stldocs-sidebar-icon-size-inner: 16px;
2939
+ --stldocs-sidebar-icon-color-inverse-background: var(--stldocs-sidebar-icon-color);
2854
2940
 
2855
- & > :last-child {
2856
- display: inline;
2857
- }
2858
- }
2859
- }
2941
+ &[data-stldocs-method='get'] {
2942
+ --stldocs-sidebar-icon-color: var(--stl-color-green-foreground);
2943
+ --stldocs-sidebar-icon-color-border: var(--stl-color-green-border);
2944
+ --stldocs-sidebar-icon-color-background: var(--stl-color-green-muted-background);
2945
+ --stldocs-sidebar-icon-color-background-hover: var(--stl-color-green-muted-background-hover);
2946
+ --stldocs-sidebar-icon-color-inverse-background: var(--stl-color-green-inverse-background);
2947
+ --stldocs-sidebar-icon-color-inverse-foreground: var(--stl-color-green-inverse-foreground);
2948
+ }
2949
+ &[data-stldocs-method='post'] {
2950
+ --stldocs-sidebar-icon-color: var(--stl-color-blue-foreground);
2951
+ --stldocs-sidebar-icon-color-border: var(--stl-color-blue-border);
2952
+ --stldocs-sidebar-icon-color-background: var(--stl-color-blue-muted-background);
2953
+ --stldocs-sidebar-icon-color-background-hover: var(--stl-color-blue-muted-background-hover);
2954
+ --stldocs-sidebar-icon-color-inverse-background: var(--stl-color-blue-inverse-background);
2955
+ --stldocs-sidebar-icon-color-inverse-foreground: var(--stl-color-blue-inverse-foreground);
2956
+ }
2957
+ &[data-stldocs-method='patch'],
2958
+ &[data-stldocs-method='put'] {
2959
+ --stldocs-sidebar-icon-color: var(--stl-color-orange-foreground);
2960
+ --stldocs-sidebar-icon-color-border: var(--stl-color-orange-border);
2961
+ --stldocs-sidebar-icon-color-background: var(--stl-color-orange-muted-background);
2962
+ --stldocs-sidebar-icon-color-background-hover: var(--stl-color-orange-muted-background-hover);
2963
+ --stldocs-sidebar-icon-color-inverse-background: var(--stl-color-orange-inverse-background);
2964
+ --stldocs-sidebar-icon-color-inverse-foreground: var(--stl-color-orange-inverse-foreground);
2965
+ }
2966
+ &[data-stldocs-method='delete'] {
2967
+ --stldocs-sidebar-icon-color: var(--stl-color-red-foreground);
2968
+ --stldocs-sidebar-icon-color-border: var(--stl-color-red-border);
2969
+ --stldocs-sidebar-icon-color-background: var(--stl-color-red-muted-background);
2970
+ --stldocs-sidebar-icon-color-background-hover: var(--stl-color-red-muted-background-hover);
2971
+ --stldocs-sidebar-icon-color-inverse-background: var(--stl-color-red-inverse-background);
2972
+ --stldocs-sidebar-icon-color-inverse-foreground: var(--stl-color-red-inverse-foreground);
2973
+ }
2860
2974
 
2861
- & > .stldocs-expander-content {
2862
- margin-left: 10px;
2863
- line-height: 150%;
2975
+ &[data-stldocs-method='get'] {
2976
+ --stldocs-sidebar-icon-url: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 7 7 17"/><path d="M17 17H7V7"/></svg>');
2977
+ }
2978
+ &[data-stldocs-method='post'],
2979
+ &[data-stldocs-method='put'],
2980
+ &[data-stldocs-method='patch'] {
2981
+ --stldocs-sidebar-icon-url: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 7h10v10"/><path d="M7 17 17 7"/></svg>');
2982
+ }
2983
+ &[data-stldocs-method='delete'] {
2984
+ --stldocs-sidebar-icon-url: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>');
2985
+ }
2986
+ }
2987
+
2988
+ a[data-stldocs-resource] {
2989
+ /* not yet implemented in markup */
2990
+ --stldocs-sidebar-icon-color: var(--stl-color-foreground-muted);
2991
+ --stldocs-sidebar-icon-color-border: var(--stl-color-border);
2992
+ --stldocs-sidebar-icon-color-background: var(--stl-color-faint-background);
2993
+ --stldocs-sidebar-icon-color-background-hover: var(--stl-color-faint-background-hover);
2994
+ --stldocs-sidebar-icon-color-inverse-background: var(--stl-color-inverse-background);
2995
+ --stldocs-sidebar-icon-color-inverse-foreground: var(--stl-color-inverse-foreground);
2996
+
2997
+ --stldocs-sidebar-icon-size-inner: 14px;
2998
+ --stldocs-sidebar-icon-url: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/><path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/></svg>');
2999
+ }
3000
+
3001
+ a[data-stldocs-method],
3002
+ a[data-stldocs-resource] {
3003
+ display: flex;
3004
+ gap: var(--stldocs-sidebar-icon-margin);
3005
+ align-items: center;
3006
+ position: relative;
3007
+
3008
+ &::before,
3009
+ &::after {
3010
+ content: '';
3011
+ width: var(--stldocs-sidebar-icon-size-outer);
3012
+ height: var(--stldocs-sidebar-icon-size-outer);
3013
+ display: block;
3014
+ }
3015
+ &::before {
3016
+ border-radius: 4px;
3017
+ background-color: var(--stldocs-sidebar-icon-color-background);
3018
+ flex: 0 0 auto;
3019
+ border: 1px solid var(--stldocs-sidebar-icon-color-border, transparent);
3020
+ }
3021
+ /* yuck (we can clean this up once we are changing sidebar markup) */
3022
+ &::after {
3023
+ background-color: var(--stldocs-sidebar-icon-color);
3024
+ mask-image: var(--stldocs-sidebar-icon-url);
3025
+ mask-size: var(--stldocs-sidebar-icon-size-inner) var(--stldocs-sidebar-icon-size-inner);
3026
+ mask-repeat: no-repeat;
3027
+ mask-position: center;
3028
+ position: absolute;
3029
+ left: var(--stldocs-sidebar-item-padding-inline);
3030
+ top: 50%;
3031
+ transform: translateY(-50%);
3032
+ }
3033
+
3034
+ &:hover {
3035
+ &::before {
3036
+ background-color: var(--stldocs-sidebar-icon-color-background-hover);
3037
+ }
3038
+ }
3039
+ &[aria-current='page'] {
3040
+ &::before {
3041
+ background-color: var(--stldocs-sidebar-icon-color-inverse-background);
3042
+ }
3043
+ &::after {
3044
+ background-color: var(--stldocs-sidebar-icon-color-inverse-foreground);
2864
3045
  }
2865
3046
  }
2866
3047
  }
@@ -1,8 +1,8 @@
1
- import { t as __exportAll } from "./chunk-Du3t87LU.js";
2
- import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-Bw-eLYjA.js";
3
- import { n as useLanguageComponents } from "./contexts-DZfPd182.js";
4
- import { t as useComponents } from "./use-components-Dbin0y07.js";
5
- import { t as style_default } from "./style-TeAZuiHh.js";
1
+ import { t as __exportAll } from "./chunk-BN_g-Awi.js";
2
+ import { i as useDeclaration, o as useLanguage, u as useSpec } from "./docs-6PYi1eEV.js";
3
+ import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
4
+ import { t as useComponents } from "./use-components-BUz3GbO4.js";
5
+ import { t as style_default } from "./style-Bxr5gqcM.js";
6
6
  import * as React$1 from "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
8
 
@@ -1,4 +1,4 @@
1
- import { i as useComponents$1 } from "./component-generics-CmIGbBLq.js";
1
+ import { i as useComponents$1 } from "./component-generics-POFirVVb.js";
2
2
 
3
3
  //#region src/contexts/use-components.tsx
4
4
  const useComponents = () => useComponents$1();
@@ -1,5 +1,5 @@
1
- import { t as __exportAll } from "./chunk-Du3t87LU.js";
2
- import { f as parseStainlessPath } from "./routing-Fzn1XfX_.js";
1
+ import { t as __exportAll } from "./chunk-BN_g-Awi.js";
2
+ import { p as parseStainlessPath } from "./routing-D6595ovf.js";
3
3
 
4
4
  //#region src/utils.ts
5
5
  var utils_exports = /* @__PURE__ */ __exportAll({
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { f as Resource, h as Spec } from "./index-Ct7H30x1.js";
1
+ import { g as Spec, p as Resource } from "./index-DuHyTVVD.js";
2
2
 
3
3
  //#region src/utils.d.ts
4
4
  declare namespace utils_d_exports {
package/dist/utils.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-BoRmEFRn.js";
1
+ import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-BpKHeVMe.js";
2
2
 
3
3
  export { flatResources, getResourceFromSpec, isResourceEmpty };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stainless-api/docs-ui",
3
3
  "private": false,
4
- "version": "0.1.0-beta.60",
4
+ "version": "0.1.0-beta.62",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,7 +18,7 @@
18
18
  "clsx": "^2.1.1",
19
19
  "htmlparser2": "^10.0.0",
20
20
  "lucide-react": "^0.562.0",
21
- "@stainless-api/ui-primitives": "0.1.0-beta.44"
21
+ "@stainless-api/ui-primitives": "0.1.0-beta.45"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "24.10.9",
@@ -27,7 +27,7 @@
27
27
  "dotenv": "17.2.3",
28
28
  "react": "^19.2.3",
29
29
  "react-dom": "^19.2.3",
30
- "tsdown": "^0.20.0-beta.3",
30
+ "tsdown": "^0.20.0",
31
31
  "typescript": "5.9.3",
32
32
  "@stainless/eslint-config": "0.1.0-beta.1",
33
33
  "@stainless/sdk-json": "^0.1.0-beta.3"
@@ -1,2 +0,0 @@
1
- import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-DukWbBrE.js";
2
- export { Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps };
@@ -1,9 +0,0 @@
1
- import "../docs-Bw-eLYjA.js";
2
- import "../component-generics-CmIGbBLq.js";
3
- import "../navigation-By1sQl6M.js";
4
- import "../markdown-ZzVcn4kq.js";
5
- import "../contexts-DZfPd182.js";
6
- import "../use-components-Dbin0y07.js";
7
- import { i as SidebarResource, n as SidebarExpander, r as SidebarMethod, t as Sidebar } from "../sidebar-BLGIKgRI.js";
8
-
9
- export { Sidebar, SidebarExpander, SidebarMethod, SidebarResource };
@@ -1,15 +0,0 @@
1
- import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "./primitives-DR4XbZ2t.js";
2
- import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-seA1JsK4.js";
3
- import { a as MethodHeaderProps, c as MethodProps, i as MethodHeader, l as MethodRoute, n as MethodDescription, o as MethodInfo, r as MethodDescriptionProps, s as MethodInfoProps, t as Method, u as MethodRouteProps } from "./method-C850sHPB.js";
4
- import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "./properties-lx53LZPl.js";
5
- import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "./sdk-Dhu_gfzq.js";
6
- import { a as SnippetContainer, c as SnippetProps, d as SnippetResponse, i as SnippetCodeProps, l as SnippetRequestContainer, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetFooter, t as Snippet, u as SnippetRequestContainerProps } from "./snippets-Bi0ZADmt.js";
7
- import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "./overview-DVu-9kpm.js";
8
- import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "./sidebar-DukWbBrE.js";
9
-
10
- //#region src/components/index.d.ts
11
- declare namespace index_d_exports {
12
- export { Badge, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetFooter, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, usePropertyModel, useReferenceNesting };
13
- }
14
- //#endregion
15
- export { index_d_exports as t };
@@ -1,15 +0,0 @@
1
- import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "./primitives-DP-cTr1W.js";
2
- import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-BagP1oN2.js";
3
- import { a as MethodHeaderProps, c as MethodProps, i as MethodHeader, l as MethodRoute, n as MethodDescription, o as MethodInfo, r as MethodDescriptionProps, s as MethodInfoProps, t as Method, u as MethodRouteProps } from "./method-CxjUvijp.js";
4
- import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "./properties-Ll927UYJ.js";
5
- import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "./sdk-DdW_-RBy.js";
6
- import { a as SnippetContainer, c as SnippetProps, d as SnippetResponse, i as SnippetCodeProps, l as SnippetRequestContainer, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetFooter, t as Snippet, u as SnippetRequestContainerProps } from "./snippets-CocIZMn0.js";
7
- import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "./overview-rRsC-Yi_.js";
8
- import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "./sidebar-CUaX1IBW.js";
9
-
10
- //#region src/components/index.d.ts
11
- declare namespace index_d_exports {
12
- export { Badge, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetFooter, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, usePropertyModel, useReferenceNesting };
13
- }
14
- //#endregion
15
- export { index_d_exports as t };
@@ -1,28 +0,0 @@
1
- import { t as __exportAll } from "./chunk-Du3t87LU.js";
2
- import { o as typescript_exports } from "./typescript-DDa446mB.js";
3
- import { o as java_exports } from "./java-Bw0o13Wk.js";
4
- import { o as go_exports } from "./go-OFa_5xje.js";
5
- import { o as python_exports } from "./python-D8NWX7Cb.js";
6
- import { o as ruby_exports } from "./ruby-DOUaLhKJ.js";
7
- import { s as http_exports } from "./http-olFAYLFq.js";
8
- import { o as csharp_exports } from "./csharp-BbNnLZWW.js";
9
- import { o as cli_exports } from "./cli-CoLvH9jq.js";
10
-
11
- //#region src/languages/index.ts
12
- var languages_exports = /* @__PURE__ */ __exportAll({
13
- cli: () => cli_exports,
14
- csharp: () => csharp_exports,
15
- go: () => go_exports,
16
- http: () => http_exports,
17
- java: () => java_exports,
18
- kotlin: () => kotlin,
19
- node: () => node,
20
- python: () => python_exports,
21
- ruby: () => ruby_exports,
22
- typescript: () => typescript_exports
23
- });
24
- const node = typescript_exports;
25
- const kotlin = java_exports;
26
-
27
- //#endregion
28
- export { languages_exports as n, node as r, kotlin as t };
@@ -1,85 +0,0 @@
1
- import { n as useNavigation } from "./navigation-By1sQl6M.js";
2
- import { t as useComponents } from "./use-components-Dbin0y07.js";
3
- import { t as style_default } from "./style-TeAZuiHh.js";
4
- import { r as isResourceEmpty } from "./utils-BoRmEFRn.js";
5
- import "react";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
- import { ChevronDown, ChevronRight } from "lucide-react";
8
- import { Badge, getHttpMethod } from "@stainless-api/ui-primitives";
9
-
10
- //#region src/components/sidebar.tsx
11
- function SidebarExpander({ open, summary, children }) {
12
- return /* @__PURE__ */ jsxs("details", {
13
- className: style_default.SidebarExpander,
14
- open,
15
- children: [/* @__PURE__ */ jsxs("summary", {
16
- className: style_default.ExpanderSummary,
17
- children: [/* @__PURE__ */ jsx("div", {
18
- className: style_default.ExpanderSummaryContent,
19
- children: summary
20
- }), /* @__PURE__ */ jsxs("div", {
21
- className: style_default.ExpanderSummaryIcon,
22
- children: [/* @__PURE__ */ jsx(ChevronRight, {
23
- size: 16,
24
- strokeWidth: 1,
25
- className: style_default.Icon
26
- }), /* @__PURE__ */ jsx(ChevronDown, {
27
- size: 16,
28
- strokeWidth: 1,
29
- className: style_default.Icon
30
- })]
31
- })]
32
- }), /* @__PURE__ */ jsx("div", {
33
- className: style_default.ExpanderContent,
34
- children
35
- })]
36
- });
37
- }
38
- function SidebarMethod({ method }) {
39
- const Docs = useComponents();
40
- const { selectedPath } = useNavigation();
41
- const httpMethod = getHttpMethod(method.httpMethod);
42
- return /* @__PURE__ */ jsxs("div", {
43
- className: style_default.SidebarMethod,
44
- "data-selected": method.stainlessPath === selectedPath,
45
- children: [httpMethod && /* @__PURE__ */ jsx(Badge.HTTP, {
46
- method: httpMethod,
47
- iconOnly: true
48
- }), /* @__PURE__ */ jsx(Docs.Link, {
49
- stainlessPath: method.stainlessPath,
50
- children: method.title
51
- })]
52
- });
53
- }
54
- function SidebarResource({ resource }) {
55
- const Docs = useComponents();
56
- const { selectedPath } = useNavigation();
57
- const subresources = Object.values(resource.subresources ?? {}).map((sub) => /* @__PURE__ */ jsx(SidebarResource, { resource: sub }, sub.stainlessPath));
58
- const methods = Object.values(resource.methods).map((method) => /* @__PURE__ */ jsx(SidebarMethod, { method }, method.stainlessPath));
59
- const hasChildren = subresources.length > 0 || methods.length > 0;
60
- const title = /* @__PURE__ */ jsx("div", {
61
- className: style_default.SidebarResourceTitle,
62
- children: /* @__PURE__ */ jsx(Docs.Link, {
63
- stainlessPath: resource.stainlessPath,
64
- children: resource.title
65
- })
66
- });
67
- return /* @__PURE__ */ jsx("div", {
68
- className: style_default.SidebarResource,
69
- "data-selected": resource.stainlessPath === selectedPath,
70
- children: hasChildren ? /* @__PURE__ */ jsxs(SidebarExpander, {
71
- summary: title,
72
- open: true,
73
- children: [methods, subresources]
74
- }) : title
75
- });
76
- }
77
- function Sidebar({ resources }) {
78
- return /* @__PURE__ */ jsx("div", {
79
- className: `${style_default.Root} ${style_default.Sidebar}`,
80
- children: resources.filter((resource) => !isResourceEmpty(resource)).map((resource) => /* @__PURE__ */ jsx(SidebarResource, { resource }, resource.stainlessPath))
81
- });
82
- }
83
-
84
- //#endregion
85
- export { SidebarResource as i, SidebarExpander as n, SidebarMethod as r, Sidebar as t };
@@ -1,36 +0,0 @@
1
- import { f as Resource, l as Method } from "./index-Ct7H30x1.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime71 from "react/jsx-runtime";
4
-
5
- //#region src/components/sidebar.d.ts
6
- type SidebarExpanderProps = {
7
- open?: boolean;
8
- summary: React$1.ReactNode;
9
- children?: React$1.ReactNode;
10
- };
11
- declare function SidebarExpander({
12
- open,
13
- summary,
14
- children
15
- }: SidebarExpanderProps): react_jsx_runtime71.JSX.Element;
16
- type SidebarMethodProps = {
17
- method: Method;
18
- };
19
- declare function SidebarMethod({
20
- method
21
- }: SidebarMethodProps): react_jsx_runtime71.JSX.Element;
22
- type SidebarResourceProps = {
23
- resource: Resource;
24
- };
25
- declare function SidebarResource({
26
- resource
27
- }: SidebarResourceProps): react_jsx_runtime71.JSX.Element;
28
- type SidebarProps = {
29
- resources: Resource[];
30
- selectedPath?: string;
31
- };
32
- declare function Sidebar({
33
- resources
34
- }: SidebarProps): react_jsx_runtime71.JSX.Element;
35
- //#endregion
36
- export { SidebarProps as a, SidebarMethodProps as i, SidebarExpander as n, SidebarResource as o, SidebarMethod as r, SidebarResourceProps as s, Sidebar as t };
@@ -1,36 +0,0 @@
1
- import { f as Resource, l as Method } from "./index-Ct7H30x1.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime48 from "react/jsx-runtime";
4
-
5
- //#region src/components/sidebar.d.ts
6
- type SidebarExpanderProps = {
7
- open?: boolean;
8
- summary: React$1.ReactNode;
9
- children?: React$1.ReactNode;
10
- };
11
- declare function SidebarExpander({
12
- open,
13
- summary,
14
- children
15
- }: SidebarExpanderProps): react_jsx_runtime48.JSX.Element;
16
- type SidebarMethodProps = {
17
- method: Method;
18
- };
19
- declare function SidebarMethod({
20
- method
21
- }: SidebarMethodProps): react_jsx_runtime48.JSX.Element;
22
- type SidebarResourceProps = {
23
- resource: Resource;
24
- };
25
- declare function SidebarResource({
26
- resource
27
- }: SidebarResourceProps): react_jsx_runtime48.JSX.Element;
28
- type SidebarProps = {
29
- resources: Resource[];
30
- selectedPath?: string;
31
- };
32
- declare function Sidebar({
33
- resources
34
- }: SidebarProps): react_jsx_runtime48.JSX.Element;
35
- //#endregion
36
- export { SidebarProps as a, SidebarMethodProps as i, SidebarExpander as n, SidebarResource as o, SidebarMethod as r, SidebarResourceProps as s, Sidebar as t };
File without changes
File without changes