@stoplight/elements 9.0.12 → 9.0.13-alpha.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.
- package/index.esm.js +2 -2
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
- package/web-components.min.js +1 -1
package/index.esm.js
CHANGED
|
@@ -127,9 +127,8 @@ const isInternal = (node) => {
|
|
|
127
127
|
};
|
|
128
128
|
const addTagGroupsToTree = (groups, ungrouped, tree, itemsType, hideInternal) => {
|
|
129
129
|
ungrouped.forEach(node => {
|
|
130
|
-
if (hideInternal && isInternal(node))
|
|
130
|
+
if (hideInternal && isInternal(node))
|
|
131
131
|
return;
|
|
132
|
-
}
|
|
133
132
|
tree.push({
|
|
134
133
|
id: node.uri,
|
|
135
134
|
slug: node.uri,
|
|
@@ -149,6 +148,7 @@ const addTagGroupsToTree = (groups, ungrouped, tree, itemsType, hideInternal) =>
|
|
|
149
148
|
title: node.name,
|
|
150
149
|
type: node.type,
|
|
151
150
|
meta: isHttpOperation(node.data) || isHttpWebhookOperation(node.data) ? node.data.method : '',
|
|
151
|
+
index: '0-',
|
|
152
152
|
};
|
|
153
153
|
});
|
|
154
154
|
if (items.length > 0) {
|
package/index.js
CHANGED
|
@@ -148,9 +148,8 @@ const isInternal = (node) => {
|
|
|
148
148
|
};
|
|
149
149
|
const addTagGroupsToTree = (groups, ungrouped, tree, itemsType, hideInternal) => {
|
|
150
150
|
ungrouped.forEach(node => {
|
|
151
|
-
if (hideInternal && isInternal(node))
|
|
151
|
+
if (hideInternal && isInternal(node))
|
|
152
152
|
return;
|
|
153
|
-
}
|
|
154
153
|
tree.push({
|
|
155
154
|
id: node.uri,
|
|
156
155
|
slug: node.uri,
|
|
@@ -170,6 +169,7 @@ const addTagGroupsToTree = (groups, ungrouped, tree, itemsType, hideInternal) =>
|
|
|
170
169
|
title: node.name,
|
|
171
170
|
type: node.type,
|
|
172
171
|
meta: elementsCore.isHttpOperation(node.data) || elementsCore.isHttpWebhookOperation(node.data) ? node.data.method : '',
|
|
172
|
+
index: '0-',
|
|
173
173
|
};
|
|
174
174
|
});
|
|
175
175
|
if (items.length > 0) {
|
package/index.mjs
CHANGED
|
@@ -127,9 +127,8 @@ const isInternal = (node) => {
|
|
|
127
127
|
};
|
|
128
128
|
const addTagGroupsToTree = (groups, ungrouped, tree, itemsType, hideInternal) => {
|
|
129
129
|
ungrouped.forEach(node => {
|
|
130
|
-
if (hideInternal && isInternal(node))
|
|
130
|
+
if (hideInternal && isInternal(node))
|
|
131
131
|
return;
|
|
132
|
-
}
|
|
133
132
|
tree.push({
|
|
134
133
|
id: node.uri,
|
|
135
134
|
slug: node.uri,
|
|
@@ -149,6 +148,7 @@ const addTagGroupsToTree = (groups, ungrouped, tree, itemsType, hideInternal) =>
|
|
|
149
148
|
title: node.name,
|
|
150
149
|
type: node.type,
|
|
151
150
|
meta: isHttpOperation(node.data) || isHttpWebhookOperation(node.data) ? node.data.method : '',
|
|
151
|
+
index: '0-',
|
|
152
152
|
};
|
|
153
153
|
});
|
|
154
154
|
if (items.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoplight/elements",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.13-alpha.0",
|
|
4
4
|
"description": "UI components for composing beautiful developer documentation.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react-dom": ">=16.8"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@stoplight/elements-core": "~9.0.
|
|
29
|
+
"@stoplight/elements-core": "~9.0.13-alpha-0.0",
|
|
30
30
|
"@stoplight/http-spec": "^7.1.0",
|
|
31
31
|
"@stoplight/json": "^3.18.1",
|
|
32
32
|
"@stoplight/mosaic": "^1.53.5",
|