@redocly/openapi-docs 3.12.0-next.14 → 3.12.0-next.16

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,9 +1,9 @@
1
- import{css as o}from"styled-components";import{LayoutVariant as p}from"@redocly/config";import{H2 as l}from"@redocly/theme/components/Typography/H2";import{Markdown as d}from"@redocly/theme/components/Markdown/Markdown";import{breakpoints as t}from"@redocly/theme/core/openapi";import{SECTION_ATTR as c}from"../../constants.js";import{styled as n}from"../../styled-components.js";const f=n.div`
2
- ${({compact:a,isStacked:i,fullWidth:e})=>{const r=a?0:"var(--spacing-vertical)";return o`
1
+ import{css as o}from"styled-components";import{LayoutVariant as p}from"@redocly/config";import{H2 as l}from"@redocly/theme/components/Typography/H2";import{Markdown as d}from"@redocly/theme/components/Markdown/Markdown";import{breakpoints as t}from"@redocly/theme/core/openapi";import{SECTION_ATTR as c}from"../../constants.js";import{styled as r}from"../../styled-components.js";const f=r.div`
2
+ ${({compact:a,isStacked:i,fullWidth:e})=>{const n=a?0:"var(--spacing-vertical)";return o`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  width: 100%;
6
- padding: ${r} var(--panel-gap-horizontal);
6
+ padding: ${n} var(--panel-gap-horizontal);
7
7
 
8
8
  &:empty {
9
9
  display: none;
@@ -19,20 +19,16 @@ import{css as o}from"styled-components";import{LayoutVariant as p}from"@redocly/
19
19
 
20
20
  @media print {
21
21
  width: 100%;
22
- padding-top: ${r};
23
- padding-bottom: ${r};
22
+ padding-top: ${n};
23
+ padding-bottom: ${n};
24
24
  }
25
25
  `}};
26
- & & {
27
- padding-left: 0;
28
- padding-right: 0;
29
- }
30
26
 
31
27
  &:last-child > ${d} :last-child,
32
28
  ${d} article :last-child {
33
29
  margin-bottom: 0;
34
30
  }
35
- `,w=n.div.attrs(a=>({[c]:a.sectionId,id:a.id}))`
31
+ `,w=r.div.attrs(a=>({[c]:a.sectionId,id:a.id}))`
36
32
  z-index: 0;
37
33
  padding: 0;
38
34
  width: 100%;
@@ -75,7 +71,7 @@ import{css as o}from"styled-components";import{LayoutVariant as p}from"@redocly/
75
71
  ${l} {
76
72
  position: relative;
77
73
  }
78
- `,x=n.div`
74
+ `,x=r.div`
79
75
  color: var(--panel-samples-text-color);
80
76
  width: 100%;
81
77
  height: fit-content;
@@ -105,7 +101,7 @@ import{css as o}from"styled-components";import{LayoutVariant as p}from"@redocly/
105
101
  padding-top: var(--spacing-vertical);
106
102
  padding-bottom: var(--spacing-vertical);
107
103
  }
108
- `,y=n.div`
104
+ `,y=r.div`
109
105
  display: flex;
110
106
  flex-direction: column;
111
107
  justify-content: space-between;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/openapi-docs",
3
- "version": "3.12.0-next.14",
3
+ "version": "3.12.0-next.16",
4
4
  "description": "Redocly OpenAPI Docs",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@markdoc/markdoc": "0.5.2",
24
- "@redocly/openapi-core": "2.0.0-next.8",
24
+ "@redocly/openapi-core": "2.0.1",
25
25
  "deepmerge": "^4.2.2",
26
26
  "dompurify": "3.2.6",
27
27
  "fast-deep-equal": "^3.1.3",