@redocly/openapi-docs 3.2.7 → 3.2.9
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.
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import type { SelectProps } from './types';
|
|
3
3
|
export declare const Select: import("styled-components").StyledComponent<import("react").NamedExoticComponent<SelectProps>, any, SelectProps & {
|
|
4
4
|
fullWidth?: boolean | undefined;
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "dark" | "light" | undefined;
|
|
6
6
|
}, never>;
|
|
7
7
|
export declare const SimpleSelect: import("styled-components").StyledComponent<import("react").NamedExoticComponent<SelectProps>, any, SelectProps & {
|
|
8
8
|
fullWidth?: boolean | undefined;
|
|
9
|
-
variant?: "
|
|
9
|
+
variant?: "dark" | "light" | undefined;
|
|
10
10
|
}, never>;
|
|
11
11
|
export declare const CollapsingSelect: import("styled-components").StyledComponent<import("react").NamedExoticComponent<SelectProps>, any, SelectProps & {
|
|
12
12
|
fullWidth?: boolean | undefined;
|
|
13
|
-
variant?: "
|
|
13
|
+
variant?: "dark" | "light" | undefined;
|
|
14
14
|
} & {
|
|
15
15
|
active?: boolean | undefined;
|
|
16
16
|
}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getActiveMediaType=exports.getMediaContent=void 0;const nexus_1=require("../jotai/nexus"),mediaType_1=require("./mediaType"),app_1=require("../jotai/app");function getMediaContent({parser:e,info:t,isRequestType:i,options:a,data:{operation:p,type:o,response:n,absolutePointer:s=""}}){const r=Object.keys(t).map((r=>(0,mediaType_1.getMediaType)(e,r,i,t[r],a,{operation:p,type:o,response:n,absolutePointer:s}))),d=r.filter((e=>!!e.examples||!!e.formExamples)).length>0;return{mediaTypes:r,isRequestType:i,hasSample:d,operation:p}}function getActiveMediaType(e,t){const i=t||(0,nexus_1.readAtom)(app_1.activeMimeNameAtom);return i&&e.mediaTypes.find((e=>e.name===i))||e.mediaTypes[0]}exports.getMediaContent=getMediaContent,exports.getActiveMediaType=getActiveMediaType;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getActiveMediaType=exports.getMediaContent=void 0;const nexus_1=require("../jotai/nexus"),mediaType_1=require("./mediaType"),app_1=require("../jotai/app");function getMediaContent({parser:e,info:t,isRequestType:i,options:a,data:{operation:p,type:o,response:n,absolutePointer:s=""}}){const r=Object.keys(t).map((r=>(0,mediaType_1.getMediaType)(e,r,i,t[r],a,{operation:p,type:o,response:n,absolutePointer:s}))),d=r.filter((e=>!!e.examples||!!e.formExamples)).length>0;return{mediaTypes:r,isRequestType:i,hasSample:d,operation:p}}function getActiveMediaType(e,t){const i=t||(0,nexus_1.readAtom)(app_1.activeMimeNameAtom);return i&&e.mediaTypes.find((e=>e.name===i))||e.mediaTypes[0]||{}}exports.getMediaContent=getMediaContent,exports.getActiveMediaType=getActiveMediaType;
|
|
2
2
|
//# sourceMappingURL=mediaContent.js.map
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import type { SelectProps } from './types';
|
|
3
3
|
export declare const Select: import("styled-components").StyledComponent<import("react").NamedExoticComponent<SelectProps>, any, SelectProps & {
|
|
4
4
|
fullWidth?: boolean | undefined;
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "dark" | "light" | undefined;
|
|
6
6
|
}, never>;
|
|
7
7
|
export declare const SimpleSelect: import("styled-components").StyledComponent<import("react").NamedExoticComponent<SelectProps>, any, SelectProps & {
|
|
8
8
|
fullWidth?: boolean | undefined;
|
|
9
|
-
variant?: "
|
|
9
|
+
variant?: "dark" | "light" | undefined;
|
|
10
10
|
}, never>;
|
|
11
11
|
export declare const CollapsingSelect: import("styled-components").StyledComponent<import("react").NamedExoticComponent<SelectProps>, any, SelectProps & {
|
|
12
12
|
fullWidth?: boolean | undefined;
|
|
13
|
-
variant?: "
|
|
13
|
+
variant?: "dark" | "light" | undefined;
|
|
14
14
|
} & {
|
|
15
15
|
active?: boolean | undefined;
|
|
16
16
|
}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{readAtom}from"../jotai/nexus";import{getMediaType}from"./mediaType";import{activeMimeNameAtom}from"../jotai/app";export function getMediaContent({parser:e,info:t,isRequestType:o,options:a,data:{operation:i,type:p,response:r,absolutePointer:m=""}}){const n=Object.keys(t).map((n=>getMediaType(e,n,o,t[n],a,{operation:i,type:p,response:r,absolutePointer:m}))),s=n.filter((e=>!!e.examples||!!e.formExamples)).length>0;return{mediaTypes:n,isRequestType:o,hasSample:s,operation:i}}export function getActiveMediaType(e,t){const o=t||readAtom(activeMimeNameAtom);return o&&e.mediaTypes.find((e=>e.name===o))||e.mediaTypes[0]}
|
|
1
|
+
import{readAtom}from"../jotai/nexus";import{getMediaType}from"./mediaType";import{activeMimeNameAtom}from"../jotai/app";export function getMediaContent({parser:e,info:t,isRequestType:o,options:a,data:{operation:i,type:p,response:r,absolutePointer:m=""}}){const n=Object.keys(t).map((n=>getMediaType(e,n,o,t[n],a,{operation:i,type:p,response:r,absolutePointer:m}))),s=n.filter((e=>!!e.examples||!!e.formExamples)).length>0;return{mediaTypes:n,isRequestType:o,hasSample:s,operation:i}}export function getActiveMediaType(e,t){const o=t||readAtom(activeMimeNameAtom);return o&&e.mediaTypes.find((e=>e.name===o))||e.mediaTypes[0]||{}}
|
|
2
2
|
//# sourceMappingURL=mediaContent.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/openapi-docs",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.9",
|
|
4
4
|
"description": "Redocly OpenAPI Docs",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-esm/index.js",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"url": "~0.11.0",
|
|
45
45
|
"url-template": "^2.0.8",
|
|
46
46
|
"util": "~0.12.5",
|
|
47
|
-
"@redocly/replay": "0.3.
|
|
48
|
-
"@redocly/config": "0.
|
|
47
|
+
"@redocly/replay": "0.3.12",
|
|
48
|
+
"@redocly/config": "0.8.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@testing-library/jest-dom": "6.1.5",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"webpack": "5.91.0",
|
|
93
93
|
"webpack-cli": "5.1.4",
|
|
94
94
|
"webpack-dev-server": "4.15.2",
|
|
95
|
-
"@redocly/theme": "0.38.
|
|
95
|
+
"@redocly/theme": "0.38.7"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
98
|
"start": "webpack serve --mode=development --hot",
|