@redocly/openapi-docs 3.0.0-alpha.44 → 3.0.0-alpha.45

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.
@@ -1,6 +1,4 @@
1
- export declare const ApiHeader: import("styled-components").StyledComponent<"h1", any, {
2
- 'data-component-name': string;
3
- }, "data-component-name">;
1
+ export declare const ApiHeader: import("styled-components").StyledComponent<"h1", any, {}, never>;
4
2
  export declare const InfoSpan: import("styled-components").StyledComponent<"span", any, {}, never>;
5
3
  export declare const InfoSpanBoxWrap: import("styled-components").StyledComponent<"div", any, {}, never>;
6
4
  export declare const InfoSpanBox: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,5 +1,3 @@
1
1
  export declare const CallbackTitle: import("styled-components").StyledComponent<"span", any, {
2
- 'data-component-name': string;
3
- } & {
4
2
  deprecated?: boolean | undefined;
5
- }, "data-component-name">;
3
+ }, never>;
@@ -1,11 +1,9 @@
1
1
  export declare const ToggleButton: import("styled-components").StyledComponent<"span", any, {}, never>;
2
2
  export declare const DescriptionEnumsBlock: import("styled-components").StyledComponent<"div", any, {
3
- 'data-component-name': string;
4
- } & {
5
3
  compact?: boolean | undefined;
6
4
  inline?: boolean | undefined;
7
5
  withoutTableStyle?: boolean | undefined;
8
- }, "data-component-name">;
6
+ }, never>;
9
7
  export declare const TypeWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
10
8
  export declare const ExampleDescription: import("styled-components").StyledComponent<"div", any, {}, never>;
11
9
  export declare const ExampleSummary: import("styled-components").StyledComponent<"label", any, {}, never>;
@@ -1,16 +1,12 @@
1
1
  export declare const linksCss: import("styled-components").FlattenSimpleInterpolation;
2
2
  export declare const baseTable: import("styled-components").FlattenSimpleInterpolation;
3
3
  export declare const StyledMarkdownBlock: import("styled-components").StyledComponent<"div", any, {
4
- 'data-component-name': string;
5
- } & {
6
4
  compact?: boolean | undefined;
7
5
  inline?: boolean | undefined;
8
6
  withoutTableStyle?: boolean | undefined;
9
- }, "data-component-name">;
7
+ }, never>;
10
8
  export declare const StyledMarkdownSpan: import("styled-components").StyledComponent<"span", any, {
11
- 'data-component-name': string;
12
- } & {
13
9
  compact?: boolean | undefined;
14
10
  inline?: boolean | undefined;
15
11
  withoutTableStyle?: boolean | undefined;
16
- }, "data-component-name">;
12
+ }, never>;
@@ -5,7 +5,7 @@
5
5
  width: 100%;
6
6
  box-sizing: border-box;
7
7
  color: orange;
8
- z-index: 10;
8
+ z-index: var(--z-index-surface);
9
9
  opacity: 0.6;
10
10
 
11
11
  > a,
@@ -15,7 +15,7 @@
15
15
  `,Flash=styled_components_1.default.div`
16
16
  font-size: 1.5em;
17
17
  position: fixed;
18
- z-index: 100;
18
+ z-index: var(--z-index-raised);
19
19
  background: rgba(38, 50, 56, 0.93);
20
20
  margin: 0;
21
21
  padding: 1em;
@@ -1,6 +1,2 @@
1
- export declare const CodeHeader: import("styled-components").StyledComponent<"div", any, {
2
- 'data-component-name': string;
3
- } & import("@redocly/theme").PanelHeaderProps, "data-component-name">;
4
- export declare const StyledCodeHeader: import("styled-components").StyledComponent<"div", any, {
5
- 'data-component-name': string;
6
- } & import("@redocly/theme").PanelHeaderProps, "data-component-name">;
1
+ export declare const CodeHeader: import("styled-components").StyledComponent<"div", any, import("@redocly/theme").PanelHeaderProps, never>;
2
+ export declare const StyledCodeHeader: import("styled-components").StyledComponent<"div", any, import("@redocly/theme").PanelHeaderProps, never>;
@@ -66,7 +66,7 @@
66
66
  right: 0;
67
67
  bottom: 0;
68
68
  left: 0;
69
- z-index: 100;
69
+ z-index: var(--z-index-raised);
70
70
  background: rgba(0, 0, 0, 0.45);
71
71
  display: flex;
72
72
  justify-content: center;
@@ -13,8 +13,6 @@ export declare const TryItDropdown: import("styled-components").StyledComponent<
13
13
  fullWidth?: boolean | undefined;
14
14
  variant?: "dark" | "light" | undefined;
15
15
  }, never>;
16
- export declare const PanelPreCodeBlock: import("styled-components").StyledComponent<"pre", any, {
17
- 'data-component-name': string;
18
- }, "data-component-name">;
16
+ export declare const PanelPreCodeBlock: import("styled-components").StyledComponent<"pre", any, {}, never>;
19
17
  export declare const ResponseHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
20
18
  export declare const FlowName: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -34,7 +34,7 @@
34
34
  font-family: var(--panel-samples-font-family);
35
35
  border-radius: var(--panel-border-radius);
36
36
  overflow: hidden;
37
- z-index: 10;
37
+ z-index: var(--z-index-surface);
38
38
  display: flex;
39
39
  flex-direction: column;
40
40
  max-height: calc(85vh - ${({scrollYOffset:e})=>e?e():0}px);
@@ -1,6 +1,4 @@
1
- export declare const ApiHeader: import("styled-components").StyledComponent<"h1", any, {
2
- 'data-component-name': string;
3
- }, "data-component-name">;
1
+ export declare const ApiHeader: import("styled-components").StyledComponent<"h1", any, {}, never>;
4
2
  export declare const InfoSpan: import("styled-components").StyledComponent<"span", any, {}, never>;
5
3
  export declare const InfoSpanBoxWrap: import("styled-components").StyledComponent<"div", any, {}, never>;
6
4
  export declare const InfoSpanBox: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,5 +1,3 @@
1
1
  export declare const CallbackTitle: import("styled-components").StyledComponent<"span", any, {
2
- 'data-component-name': string;
3
- } & {
4
2
  deprecated?: boolean | undefined;
5
- }, "data-component-name">;
3
+ }, never>;
@@ -1,11 +1,9 @@
1
1
  export declare const ToggleButton: import("styled-components").StyledComponent<"span", any, {}, never>;
2
2
  export declare const DescriptionEnumsBlock: import("styled-components").StyledComponent<"div", any, {
3
- 'data-component-name': string;
4
- } & {
5
3
  compact?: boolean | undefined;
6
4
  inline?: boolean | undefined;
7
5
  withoutTableStyle?: boolean | undefined;
8
- }, "data-component-name">;
6
+ }, never>;
9
7
  export declare const TypeWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
10
8
  export declare const ExampleDescription: import("styled-components").StyledComponent<"div", any, {}, never>;
11
9
  export declare const ExampleSummary: import("styled-components").StyledComponent<"label", any, {}, never>;
@@ -1,16 +1,12 @@
1
1
  export declare const linksCss: import("styled-components").FlattenSimpleInterpolation;
2
2
  export declare const baseTable: import("styled-components").FlattenSimpleInterpolation;
3
3
  export declare const StyledMarkdownBlock: import("styled-components").StyledComponent<"div", any, {
4
- 'data-component-name': string;
5
- } & {
6
4
  compact?: boolean | undefined;
7
5
  inline?: boolean | undefined;
8
6
  withoutTableStyle?: boolean | undefined;
9
- }, "data-component-name">;
7
+ }, never>;
10
8
  export declare const StyledMarkdownSpan: import("styled-components").StyledComponent<"span", any, {
11
- 'data-component-name': string;
12
- } & {
13
9
  compact?: boolean | undefined;
14
10
  inline?: boolean | undefined;
15
11
  withoutTableStyle?: boolean | undefined;
16
- }, "data-component-name">;
12
+ }, never>;
@@ -5,7 +5,7 @@ import React,{useState,useEffect}from"react";import styled from"styled-component
5
5
  width: 100%;
6
6
  box-sizing: border-box;
7
7
  color: orange;
8
- z-index: 10;
8
+ z-index: var(--z-index-surface);
9
9
  opacity: 0.6;
10
10
 
11
11
  > a,
@@ -15,7 +15,7 @@ import React,{useState,useEffect}from"react";import styled from"styled-component
15
15
  `,Flash=styled.div`
16
16
  font-size: 1.5em;
17
17
  position: fixed;
18
- z-index: 100;
18
+ z-index: var(--z-index-raised);
19
19
  background: rgba(38, 50, 56, 0.93);
20
20
  margin: 0;
21
21
  padding: 1em;
@@ -1,6 +1,2 @@
1
- export declare const CodeHeader: import("styled-components").StyledComponent<"div", any, {
2
- 'data-component-name': string;
3
- } & import("@redocly/theme").PanelHeaderProps, "data-component-name">;
4
- export declare const StyledCodeHeader: import("styled-components").StyledComponent<"div", any, {
5
- 'data-component-name': string;
6
- } & import("@redocly/theme").PanelHeaderProps, "data-component-name">;
1
+ export declare const CodeHeader: import("styled-components").StyledComponent<"div", any, import("@redocly/theme").PanelHeaderProps, never>;
2
+ export declare const StyledCodeHeader: import("styled-components").StyledComponent<"div", any, import("@redocly/theme").PanelHeaderProps, never>;
@@ -66,7 +66,7 @@ import React from"react";import styled from"styled-components";export const Cros
66
66
  right: 0;
67
67
  bottom: 0;
68
68
  left: 0;
69
- z-index: 100;
69
+ z-index: var(--z-index-raised);
70
70
  background: rgba(0, 0, 0, 0.45);
71
71
  display: flex;
72
72
  justify-content: center;
@@ -13,8 +13,6 @@ export declare const TryItDropdown: import("styled-components").StyledComponent<
13
13
  fullWidth?: boolean | undefined;
14
14
  variant?: "dark" | "light" | undefined;
15
15
  }, never>;
16
- export declare const PanelPreCodeBlock: import("styled-components").StyledComponent<"pre", any, {
17
- 'data-component-name': string;
18
- }, "data-component-name">;
16
+ export declare const PanelPreCodeBlock: import("styled-components").StyledComponent<"pre", any, {}, never>;
19
17
  export declare const ResponseHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
20
18
  export declare const FlowName: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -34,7 +34,7 @@ import styled,{css,keyframes}from"styled-components";import{PreformattedCodeBloc
34
34
  font-family: var(--panel-samples-font-family);
35
35
  border-radius: var(--panel-border-radius);
36
36
  overflow: hidden;
37
- z-index: 10;
37
+ z-index: var(--z-index-surface);
38
38
  display: flex;
39
39
  flex-direction: column;
40
40
  max-height: calc(85vh - ${({scrollYOffset:o})=>o?o():0}px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/openapi-docs",
3
- "version": "3.0.0-alpha.44",
3
+ "version": "3.0.0-alpha.45",
4
4
  "description": "Redocly OpenAPI Docs",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",
@@ -119,7 +119,7 @@
119
119
  "webpack-dev-server": "^4.9.3",
120
120
  "workerize-loader": "github:redocly/workerize-loader#webpack-5-dist",
121
121
  "js-yaml": "4.1.0",
122
- "@redocly/theme": "0.15.1"
122
+ "@redocly/theme": "0.16.0"
123
123
  },
124
124
  "scripts": {
125
125
  "start": "webpack serve --mode=development --hot",