@stoplight/elements-dev-portal 3.0.8 → 3.0.10

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.
package/index.esm.js CHANGED
@@ -100,7 +100,7 @@ const NodeContent = ({ node, Link, hideMocking, refResolver, maxRefDepth, tryItC
100
100
  },
101
101
  } },
102
102
  React.createElement(MockingProvider, { mockUrl: node.links.mock_url, hideMocking: hideMocking },
103
- React.createElement(Docs, { nodeType: node.type, nodeData: node.data, nodeTitle: node.title, layoutOptions: {
103
+ React.createElement(Docs, { nodeType: node.type, nodeData: node.data, nodeTitle: node.title, disableProps: node === null || node === void 0 ? void 0 : node.disableProps, layoutOptions: {
104
104
  compact,
105
105
  hideTryIt: hideTryIt,
106
106
  hideTryItPanel: hideTryItPanel,
@@ -294,7 +294,7 @@ const UpgradeToStarter = () => (React__default.createElement(Flex, { as: "a", hr
294
294
  React__default.createElement(Icon, { icon: ['fas', 'exclamation-triangle'], size: "4x" }),
295
295
  React__default.createElement(Box, { pt: 3 }, "Please upgrade your Stoplight Workspace to the Starter Plan to use Elements Dev Portal in production.")));
296
296
 
297
- const appVersion = '3.0.8';
297
+ const appVersion = '3.0.10';
298
298
 
299
299
  class ResponseError extends Error {
300
300
  constructor(message, responseCode) {
package/index.js CHANGED
@@ -120,7 +120,7 @@ const NodeContent = ({ node, Link, hideMocking, refResolver, maxRefDepth, tryItC
120
120
  },
121
121
  } },
122
122
  React__namespace.createElement(elementsCore.MockingProvider, { mockUrl: node.links.mock_url, hideMocking: hideMocking },
123
- React__namespace.createElement(elementsCore.Docs, { nodeType: node.type, nodeData: node.data, nodeTitle: node.title, layoutOptions: {
123
+ React__namespace.createElement(elementsCore.Docs, { nodeType: node.type, nodeData: node.data, nodeTitle: node.title, disableProps: node === null || node === void 0 ? void 0 : node.disableProps, layoutOptions: {
124
124
  compact,
125
125
  hideTryIt: hideTryIt,
126
126
  hideTryItPanel: hideTryItPanel,
@@ -314,7 +314,7 @@ const UpgradeToStarter = () => (React.createElement(mosaic.Flex, { as: "a", href
314
314
  React.createElement(mosaic.Icon, { icon: ['fas', 'exclamation-triangle'], size: "4x" }),
315
315
  React.createElement(mosaic.Box, { pt: 3 }, "Please upgrade your Stoplight Workspace to the Starter Plan to use Elements Dev Portal in production.")));
316
316
 
317
- const appVersion = '3.0.8';
317
+ const appVersion = '3.0.10';
318
318
 
319
319
  class ResponseError extends Error {
320
320
  constructor(message, responseCode) {
package/index.mjs CHANGED
@@ -100,7 +100,7 @@ const NodeContent = ({ node, Link, hideMocking, refResolver, maxRefDepth, tryItC
100
100
  },
101
101
  } },
102
102
  React.createElement(MockingProvider, { mockUrl: node.links.mock_url, hideMocking: hideMocking },
103
- React.createElement(Docs, { nodeType: node.type, nodeData: node.data, nodeTitle: node.title, layoutOptions: {
103
+ React.createElement(Docs, { nodeType: node.type, nodeData: node.data, nodeTitle: node.title, disableProps: node === null || node === void 0 ? void 0 : node.disableProps, layoutOptions: {
104
104
  compact,
105
105
  hideTryIt: hideTryIt,
106
106
  hideTryItPanel: hideTryItPanel,
@@ -294,7 +294,7 @@ const UpgradeToStarter = () => (React__default.createElement(Flex, { as: "a", hr
294
294
  React__default.createElement(Icon, { icon: ['fas', 'exclamation-triangle'], size: "4x" }),
295
295
  React__default.createElement(Box, { pt: 3 }, "Please upgrade your Stoplight Workspace to the Starter Plan to use Elements Dev Portal in production.")));
296
296
 
297
- const appVersion = '3.0.8';
297
+ const appVersion = '3.0.10';
298
298
 
299
299
  class ResponseError extends Error {
300
300
  constructor(message, responseCode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoplight/elements-dev-portal",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "description": "UI components for composing beautiful developer documentation.",
5
5
  "keywords": [],
6
6
  "main": "./index.js",
@@ -26,9 +26,9 @@
26
26
  "react-dom": ">=16.8"
27
27
  },
28
28
  "dependencies": {
29
- "@stoplight/elements-core": "~9.0.8",
29
+ "@stoplight/elements-core": "~9.0.10",
30
30
  "@stoplight/markdown-viewer": "^5.7.1",
31
- "@stoplight/mosaic": "^1.53.4",
31
+ "@stoplight/mosaic": "^1.53.5",
32
32
  "@stoplight/path": "^1.3.2",
33
33
  "@stoplight/types": "^14.0.0",
34
34
  "classnames": "^2.2.6",