@redocly/openapi-docs 3.9.0-next.4 → 3.9.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.
@@ -12431,4 +12431,4 @@ Error generating stack: `+Ie.message+`
12431
12431
  `,xy=({pointer:A,schema:B,disableDeepLinks:F,slug:re})=>{const{options:Ee,parser:Ue}=useAtomValue(globalStoreAtom),it=B||{$ref:A},dt=getSchema({parser:Ue,schemaOrRef:it,pointer:A||"",options:Ee,deps:{operation:{pointer:"RedocSchema"}}});return jsx(Row,{children:jsx(FullWidthPanel,{children:jsx(Schema,{schema:dt,level:1,disableDeepLinks:F,slug:re})})})},Ay=({pointer:A,mimeType:B,encoding:F})=>{const re=useAtomValue(globalParserAtom),Ee=useAtomValue(layoutAtom),Ue=getExamples({parser:re,infoOrRef:{$ref:A},mime:B,encoding:F});return jsx(Row,{layout:Ee,children:jsx(ExamplesWrap,{children:jsx(Example,{example:Ue,mimeType:B})})})},_v=pe.Ay.div`
12432
12432
  padding: 20px;
12433
12433
  color: red;
12434
- `;class Dy extends n.Component{constructor(B){super(B),this.state={error:void 0}}componentDidCatch(B){return this.setState({error:B}),!1}render(){return this.state.error?(0,O.jsxs)(_v,{children:[(0,O.jsx)("h1",{children:"Something went wrong..."}),(0,O.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,O.jsx)("p",{children:(0,O.jsxs)("details",{children:[(0,O.jsx)("summary",{children:"Stack trace"}),(0,O.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,O.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,O.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,O.jsx)(O.Fragment,{children:n.Children.only(this.props.children)})}}var ey=Object.defineProperty,Nh=Object.getOwnPropertySymbols,ty=Object.prototype.hasOwnProperty,ny=Object.prototype.propertyIsEnumerable,$h=(A,B,F)=>B in A?ey(A,B,{enumerable:!0,configurable:!0,writable:!0,value:F}):A[B]=F,Uh=(A,B)=>{for(var F in B||(B={}))ty.call(B,F)&&$h(A,F,B[F]);if(Nh)for(var F of Nh(B))ny.call(B,F)&&$h(A,F,B[F]);return A};const zh=(0,M.JA)(),ry=zh?(0,x.dirname)(zh)+"/":"";function oy(A){const B={},F=A.attributes;for(let re=0;re<F.length;re++){const Ee=F[re];B[Ee.name]=Ee.value}return B}function iy(A){const B=oy(A),F={};for(const re in B){const Ee=re.replace(/-(.)/g,(Ue,it)=>it.toUpperCase());F[Ee]=B[re]}return F}function ay(A,B=document.querySelector("redoc")){(0,l.c)(B,(0,O.jsx)(Fh,{store:A}))}function Wh(A,B={},F=(0,M.iT)("redoc")){if(F===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let re,Ee;typeof A=="string"?re=A:typeof A=="object"&&(Ee=A),(0,l.H)(F).render((0,n.createElement)(Qv,{definition:Ee,definitionUrl:re,options:Uh(Uh({},B),iy(F))},["Loading..."]))}function Vh(A){$r.p=A}const sy="3.9.0-next.4",ly="3b5e62e6";function cy(){const A=(0,M.iT)("redoc");if(!A)return;const B=A.getAttribute("spec-url");B&&Wh(B,{},A)}a.IS_BROWSER&&Vh(ry),cy()})(),Df})());
12434
+ `;class Dy extends n.Component{constructor(B){super(B),this.state={error:void 0}}componentDidCatch(B){return this.setState({error:B}),!1}render(){return this.state.error?(0,O.jsxs)(_v,{children:[(0,O.jsx)("h1",{children:"Something went wrong..."}),(0,O.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,O.jsx)("p",{children:(0,O.jsxs)("details",{children:[(0,O.jsx)("summary",{children:"Stack trace"}),(0,O.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,O.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,O.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,O.jsx)(O.Fragment,{children:n.Children.only(this.props.children)})}}var ey=Object.defineProperty,Nh=Object.getOwnPropertySymbols,ty=Object.prototype.hasOwnProperty,ny=Object.prototype.propertyIsEnumerable,$h=(A,B,F)=>B in A?ey(A,B,{enumerable:!0,configurable:!0,writable:!0,value:F}):A[B]=F,Uh=(A,B)=>{for(var F in B||(B={}))ty.call(B,F)&&$h(A,F,B[F]);if(Nh)for(var F of Nh(B))ny.call(B,F)&&$h(A,F,B[F]);return A};const zh=(0,M.JA)(),ry=zh?(0,x.dirname)(zh)+"/":"";function oy(A){const B={},F=A.attributes;for(let re=0;re<F.length;re++){const Ee=F[re];B[Ee.name]=Ee.value}return B}function iy(A){const B=oy(A),F={};for(const re in B){const Ee=re.replace(/-(.)/g,(Ue,it)=>it.toUpperCase());F[Ee]=B[re]}return F}function ay(A,B=document.querySelector("redoc")){(0,l.c)(B,(0,O.jsx)(Fh,{store:A}))}function Wh(A,B={},F=(0,M.iT)("redoc")){if(F===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let re,Ee;typeof A=="string"?re=A:typeof A=="object"&&(Ee=A),(0,l.H)(F).render((0,n.createElement)(Qv,{definition:Ee,definitionUrl:re,options:Uh(Uh({},B),iy(F))},["Loading..."]))}function Vh(A){$r.p=A}const sy="3.9.0-next.4",ly="4cc24b9559";function cy(){const A=(0,M.iT)("redoc");if(!A)return;const B=A.getAttribute("spec-url");B&&Wh(B,{},A)}a.IS_BROWSER&&Vh(ry),cy()})(),Df})());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/openapi-docs",
3
- "version": "3.9.0-next.4",
3
+ "version": "3.9.0",
4
4
  "description": "Redocly OpenAPI Docs",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",
@@ -46,7 +46,7 @@
46
46
  "util": "~0.12.5",
47
47
  "web-vitals": "3.3.1",
48
48
  "@redocly/config": "0.24.1",
49
- "@redocly/replay": "0.12.0-next.4"
49
+ "@redocly/replay": "0.12.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@shikijs/transformers": "1.24.0",
@@ -92,7 +92,7 @@
92
92
  "webpack": "5.94.0",
93
93
  "webpack-cli": "5.1.4",
94
94
  "webpack-dev-server": "5.1.0",
95
- "@redocly/theme": "0.53.0-next.4"
95
+ "@redocly/theme": "0.53.0"
96
96
  },
97
97
  "scripts": {
98
98
  "start": "npm run copy-highlight-hook && webpack serve --mode=development --hot",