@stoplight/elements 8.3.3 → 8.4.0

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.
@@ -5,10 +5,14 @@ import { ServiceNode } from '../../utils/oas/types';
5
5
  declare type SidebarLayoutProps = {
6
6
  serviceNode: ServiceNode;
7
7
  logo?: string;
8
+ hideTryItPanel?: boolean;
8
9
  hideTryIt?: boolean;
10
+ hideSamples?: boolean;
9
11
  hideSchemas?: boolean;
10
12
  hideInternal?: boolean;
11
13
  hideExport?: boolean;
14
+ hideServerInfo?: boolean;
15
+ hideSecurityInfo?: boolean;
12
16
  exportProps?: ExportButtonProps;
13
17
  tryItCredentialsPolicy?: 'omit' | 'include' | 'same-origin';
14
18
  tryItCorsProxy?: string;
@@ -5,9 +5,13 @@ import { ServiceNode } from '../../utils/oas/types';
5
5
  declare type SidebarLayoutProps = {
6
6
  serviceNode: ServiceNode;
7
7
  logo?: string;
8
+ hideTryItPanel?: boolean;
8
9
  hideTryIt?: boolean;
10
+ hideSamples?: boolean;
9
11
  hideSchemas?: boolean;
10
12
  hideInternal?: boolean;
13
+ hideServerInfo?: boolean;
14
+ hideSecurityInfo?: boolean;
11
15
  hideExport?: boolean;
12
16
  exportProps?: ExportButtonProps;
13
17
  tryItCredentialsPolicy?: 'omit' | 'include' | 'same-origin';
@@ -12,8 +12,12 @@ interface Location {
12
12
  }
13
13
  declare type StackedLayoutProps = {
14
14
  serviceNode: ServiceNode;
15
+ hideTryItPanel?: boolean;
15
16
  hideTryIt?: boolean;
17
+ hideSamples?: boolean;
16
18
  hideExport?: boolean;
19
+ hideServerInfo?: boolean;
20
+ hideSecurityInfo?: boolean;
17
21
  exportProps?: ExportButtonProps;
18
22
  tryItCredentialsPolicy?: TryItCredentialsPolicy;
19
23
  tryItCorsProxy?: string;
@@ -13,6 +13,10 @@ export interface CommonAPIProps extends RoutingProps {
13
13
  layout?: 'sidebar' | 'stacked' | 'responsive';
14
14
  logo?: string;
15
15
  hideTryIt?: boolean;
16
+ hideSamples?: boolean;
17
+ hideTryItPanel?: boolean;
18
+ hideSecurityInfo?: boolean;
19
+ hideServerInfo?: boolean;
16
20
  hideSchemas?: boolean;
17
21
  hideInternal?: boolean;
18
22
  hideExport?: boolean;