@stainless-api/docs-ui 0.1.0-beta.57 → 0.1.0-beta.58

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 (111) hide show
  1. package/dist/{breadcrumbs-CCViAnPI.js → breadcrumbs-3q1o8SBZ.js} +2 -2
  2. package/dist/{breadcrumbs-BFCcsaL5.d.ts → breadcrumbs-Bu4Lz7cO.d.ts} +4 -4
  3. package/dist/{component-generics-CXfH4VNh.d.ts → component-generics-CLPqY1b3.d.ts} +2 -2
  4. package/dist/{component-2IFa97aV.js → component-l0Q5m3CM.js} +2 -2
  5. package/dist/components/MaskedInput.d.ts +3 -3
  6. package/dist/components/MaskedInput.js +1 -1
  7. package/dist/components/breadcrumbs.d.ts +1 -1
  8. package/dist/components/breadcrumbs.js +2 -2
  9. package/dist/components/icons.d.ts +11 -11
  10. package/dist/components/index.d.ts +9 -9
  11. package/dist/components/index.js +9 -9
  12. package/dist/components/method.d.ts +1 -1
  13. package/dist/components/method.js +2 -2
  14. package/dist/components/overview.d.ts +1 -1
  15. package/dist/components/overview.js +3 -3
  16. package/dist/components/primitives.d.ts +1 -1
  17. package/dist/components/primitives.js +1 -1
  18. package/dist/components/properties.d.ts +1 -1
  19. package/dist/components/properties.js +1 -1
  20. package/dist/components/sdk.d.ts +1 -1
  21. package/dist/components/sdk.js +1 -1
  22. package/dist/components/sidebar.d.ts +1 -1
  23. package/dist/components/sidebar.js +1 -1
  24. package/dist/components/snippets.d.ts +2 -2
  25. package/dist/components/snippets.js +1 -1
  26. package/dist/{components-B6opXKh2.js → components-BdOXrvW2.js} +8 -8
  27. package/dist/contexts/component-generics.d.ts +1 -1
  28. package/dist/contexts/component-types.d.ts +10 -10
  29. package/dist/contexts/component.d.ts +13 -13
  30. package/dist/contexts/component.js +18 -18
  31. package/dist/contexts/docs.d.ts +1 -1
  32. package/dist/contexts/index.d.ts +14 -14
  33. package/dist/contexts/markdown.d.ts +1 -1
  34. package/dist/contexts/navigation.d.ts +1 -1
  35. package/dist/contexts/use-components.d.ts +9 -9
  36. package/dist/{csharp-Cs2V5Q49.js → csharp-ZbePFjQO.js} +7 -7
  37. package/dist/{docs-AUJrRqst.d.ts → docs-8bJ2Zq-a.d.ts} +4 -5
  38. package/dist/{go-jtKybF5f.js → go-B0LsOWv5.js} +1 -1
  39. package/dist/{http-ByTnZCdl.js → http-DhFmbdJn.js} +2 -2
  40. package/dist/{index-CBfCrZxK.d.ts → index-BON8gAFi.d.ts} +8 -8
  41. package/dist/index-BtmA2psc.d.ts +1587 -0
  42. package/dist/{index-DUvl24AZ.d.ts → index-qF_YVWCx.d.ts} +19 -19
  43. package/dist/index.d.ts +15 -15
  44. package/dist/index.js +18 -18
  45. package/dist/{java-CSfLt_jp.js → java-DnoViM8r.js} +1 -1
  46. package/dist/languages/csharp.d.ts +10 -10
  47. package/dist/languages/csharp.js +1 -1
  48. package/dist/languages/go.d.ts +10 -10
  49. package/dist/languages/go.js +1 -1
  50. package/dist/languages/http.d.ts +10 -10
  51. package/dist/languages/http.js +10 -10
  52. package/dist/languages/index.d.ts +10 -10
  53. package/dist/languages/index.js +17 -17
  54. package/dist/languages/java.d.ts +10 -10
  55. package/dist/languages/java.js +1 -1
  56. package/dist/languages/python.d.ts +10 -10
  57. package/dist/languages/python.js +1 -1
  58. package/dist/languages/ruby.d.ts +10 -10
  59. package/dist/languages/ruby.js +1 -1
  60. package/dist/languages/typescript.d.ts +10 -10
  61. package/dist/languages/typescript.js +1 -1
  62. package/dist/{languages-X8bJZjuW.js → languages-DkMjjyDN.js} +7 -7
  63. package/dist/markdown/index.d.ts +5 -5
  64. package/dist/markdown/index.js +18 -18
  65. package/dist/markdown/md.js +2 -2
  66. package/dist/markdown/printer.d.ts +6 -6
  67. package/dist/markdown/printer.js +33 -32
  68. package/dist/markdown/utils.d.ts +5 -5
  69. package/dist/{markdown-CqEZJJrZ.d.ts → markdown-DTp4ociY.d.ts} +2 -2
  70. package/dist/{method-CD_dwBsB.d.ts → method-ClPGsX68.d.ts} +6 -6
  71. package/dist/{method-BPsNdtwS.js → method-pJ_RhZj-.js} +2 -2
  72. package/dist/{navigation-BlOvTCTX.d.ts → navigation-DzgC_T1S.d.ts} +3 -3
  73. package/dist/{overview-CVTaIlP6.d.ts → overview-CdbaBavs.d.ts} +11 -11
  74. package/dist/{overview-BslKVsRE.js → overview-DYiiAHTd.js} +6 -6
  75. package/dist/{primitives-Da9sUCQo.d.ts → primitives-Cw5uBUQk.d.ts} +11 -11
  76. package/dist/{primitives-CCj2Pn-o.js → primitives-DHsRAENq.js} +1 -1
  77. package/dist/{properties-CEjSSMRr.d.ts → properties-Bn_hArWT.d.ts} +5 -5
  78. package/dist/{properties-DhttBLpf.js → properties-WqNSu-9K.js} +1 -1
  79. package/dist/{python-BU7eaJMy.js → python-Bj1XJ1je.js} +1 -1
  80. package/dist/{routing-CUnVDpU-.d.ts → routing-BHkWbZpp.d.ts} +5 -5
  81. package/dist/routing.d.ts +1 -1
  82. package/dist/{ruby-LiJ6VW-R.js → ruby-CUOmUwz-.js} +1 -1
  83. package/dist/{sdk-CL6r5JlK.d.ts → sdk-BiLj2q7E.d.ts} +22 -22
  84. package/dist/{sdk-CbNqFzOI.js → sdk-DoprvjCy.js} +1 -1
  85. package/dist/{sidebar-ZNWRDHyv.js → sidebar-4QeeafnE.js} +2 -2
  86. package/dist/{sidebar-BDwx6h14.d.ts → sidebar-DimNfsmt.d.ts} +9 -9
  87. package/dist/{snippets-CO4kIovz.js → snippets-BPHTjwpN.js} +6 -12
  88. package/dist/{snippets-DePfv2T6.d.ts → snippets-CQrk6Dfj.d.ts} +11 -11
  89. package/dist/spec.d.ts +24 -24
  90. package/dist/{style-Vk87Pfuy.js → style-WTDMMzqU.js} +0 -1
  91. package/dist/style.d.ts +0 -1
  92. package/dist/style.js +1 -1
  93. package/dist/styles/main.css +9 -1
  94. package/dist/styles.css +9 -1
  95. package/dist/{typescript-C8J1uyak.js → typescript-B4wuVmP1.js} +1 -1
  96. package/dist/utils.d.ts +6 -6
  97. package/package.json +3 -3
  98. package/dist/breadcrumbs-DTHE6aca.d.ts +0 -25
  99. package/dist/component-generics-Dbwqv7EL.d.ts +0 -30
  100. package/dist/docs-BQbH-a6R.d.ts +0 -47
  101. package/dist/index-Bk5AWxiZ.d.ts +0 -274
  102. package/dist/index-CxTvYsqI.d.ts +0 -15
  103. package/dist/markdown-V_bNKjle.d.ts +0 -22
  104. package/dist/method-CkGKALRi.d.ts +0 -59
  105. package/dist/navigation-CXQA2RZo.d.ts +0 -29
  106. package/dist/overview-DFrenwhf.d.ts +0 -39
  107. package/dist/primitives-DiDzLHoK.d.ts +0 -104
  108. package/dist/properties-CXDSYNGL.d.ts +0 -54
  109. package/dist/sdk-CenwRRXT.d.ts +0 -118
  110. package/dist/sidebar-CcX4PdH0.d.ts +0 -36
  111. package/dist/snippets-ykHHsG1B.d.ts +0 -51
@@ -1,7 +1,6 @@
1
+ import { d as Resource, h as SpecLanguage, m as Spec, s as LanguageDeclNodes } from "./index-BtmA2psc.js";
1
2
  import * as React$1 from "react";
2
- import * as react_jsx_runtime87 from "react/jsx-runtime";
3
- import * as _stainless_sdk_json0 from "@stainless/sdk-json";
4
- import { LanguageDeclNodes, Spec, SpecLanguage } from "@stainless/sdk-json";
3
+ import * as react_jsx_runtime59 from "react/jsx-runtime";
5
4
 
6
5
  //#region src/contexts/docs.d.ts
7
6
  type ContentPanelLayout = 'double-pane' | 'single-pane';
@@ -31,7 +30,7 @@ declare function useSettings(): {
31
30
  declare function useSnippet(stainlessPath: string, language?: SpecLanguage, variant?: string): string | undefined;
32
31
  type Declaration = LanguageDeclNodes[SpecLanguage];
33
32
  declare function useDeclaration<Required extends boolean>(stainlessPath: string, required: Required, language?: SpecLanguage): (Required extends true ? never : undefined) | Declaration;
34
- declare function useResource(name: string): _stainless_sdk_json0.Resource | undefined;
33
+ declare function useResource(name: string): Resource | undefined;
35
34
  declare function useLanguage(): "http" | "node" | "python" | "go" | "typescript" | "terraform" | "ruby" | "java" | "kotlin" | "csharp" | "php";
36
35
  declare function useContentPanelLayout(): ContentPanelLayout;
37
36
  type DocsProviderProps = DocsContextType & {
@@ -42,6 +41,6 @@ declare function DocsProvider({
42
41
  language,
43
42
  settings,
44
43
  children
45
- }: DocsProviderProps): react_jsx_runtime87.JSX.Element;
44
+ }: DocsProviderProps): react_jsx_runtime59.JSX.Element;
46
45
  //#endregion
47
46
  export { PropertySettingsType as a, useDocs as c, useSettings as d, useSnippet as f, DocsProviderProps as i, useLanguage as l, DocsContextType as n, useContentPanelLayout as o, useSpec as p, DocsProvider as r, useDeclaration as s, ContentPanelLayout as t, useResource as u };
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./chunk-CAbhIZi1.js";
2
2
  import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
3
3
  import { t as useComponents } from "./use-components-DBx5LZk0.js";
4
- import { t as style_default } from "./style-Vk87Pfuy.js";
4
+ import { t as style_default } from "./style-WTDMMzqU.js";
5
5
  import * as React$1 from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
 
@@ -2,8 +2,8 @@ import { t as __exportAll } from "./chunk-CAbhIZi1.js";
2
2
  import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-CXqi26jB.js";
3
3
  import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
4
4
  import { t as useComponents } from "./use-components-DBx5LZk0.js";
5
- import { t as style_default } from "./style-Vk87Pfuy.js";
6
- import { i as PropertyToggle } from "./properties-DhttBLpf.js";
5
+ import { t as style_default } from "./style-WTDMMzqU.js";
6
+ import { i as PropertyToggle } from "./properties-WqNSu-9K.js";
7
7
  import React from "react";
8
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
9
 
@@ -1,11 +1,11 @@
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-Da9sUCQo.js";
2
- import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-DTHE6aca.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-CD_dwBsB.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-CXDSYNGL.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-CL6r5JlK.js";
6
- import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "./snippets-ykHHsG1B.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-DFrenwhf.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-CcX4PdH0.js";
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-Cw5uBUQk.js";
2
+ import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-Bu4Lz7cO.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-ClPGsX68.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-Bn_hArWT.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-BiLj2q7E.js";
6
+ import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "./snippets-CQrk6Dfj.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-CdbaBavs.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-DimNfsmt.js";
9
9
 
10
10
  //#region src/components/index.d.ts
11
11
  declare namespace index_d_exports {