@stoplight/elements 7.5.15 → 7.5.19
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 -1
- package/index.js +2 -1
- package/index.mjs +2 -1
- package/package.json +3 -2
- package/styles.min.css +1 -1
- package/web-components.min.js +1 -1
- package/web-components.min.js.LICENSE.txt +3 -3
package/index.esm.js
CHANGED
|
@@ -30,7 +30,8 @@ const computeTagGroups = (serviceNode) => {
|
|
|
30
30
|
groupsByTagId[tagId].items.push(node);
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
|
-
const
|
|
33
|
+
const serviceTagIndex = lowerCaseServiceTags.findIndex(tn => tn === tagId);
|
|
34
|
+
const serviceTagName = serviceNode.tags[serviceTagIndex];
|
|
34
35
|
groupsByTagId[tagId] = {
|
|
35
36
|
title: serviceTagName || tagName,
|
|
36
37
|
items: [node],
|
package/index.js
CHANGED
|
@@ -63,7 +63,8 @@ const computeTagGroups = (serviceNode) => {
|
|
|
63
63
|
groupsByTagId[tagId].items.push(node);
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
66
|
-
const
|
|
66
|
+
const serviceTagIndex = lowerCaseServiceTags.findIndex(tn => tn === tagId);
|
|
67
|
+
const serviceTagName = serviceNode.tags[serviceTagIndex];
|
|
67
68
|
groupsByTagId[tagId] = {
|
|
68
69
|
title: serviceTagName || tagName,
|
|
69
70
|
items: [node],
|
package/index.mjs
CHANGED
|
@@ -30,7 +30,8 @@ const computeTagGroups = (serviceNode) => {
|
|
|
30
30
|
groupsByTagId[tagId].items.push(node);
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
|
-
const
|
|
33
|
+
const serviceTagIndex = lowerCaseServiceTags.findIndex(tn => tn === tagId);
|
|
34
|
+
const serviceTagName = serviceNode.tags[serviceTagIndex];
|
|
34
35
|
groupsByTagId[tagId] = {
|
|
35
36
|
title: serviceTagName || tagName,
|
|
36
37
|
items: [node],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoplight/elements",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.19",
|
|
4
4
|
"description": "UI components for composing beautiful developer documentation.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"main": "./index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
|
30
|
-
"@stoplight/elements-core": "~7.5.
|
|
30
|
+
"@stoplight/elements-core": "~7.5.19",
|
|
31
31
|
"@stoplight/http-spec": "^5.1.0",
|
|
32
32
|
"@stoplight/json": "^3.18.0",
|
|
33
33
|
"@stoplight/mosaic": "^1.16.2",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"type": "commonjs",
|
|
43
43
|
"exports": {
|
|
44
44
|
"./styles.min.css": "./styles.min.css",
|
|
45
|
+
"./web-components.min.js": "./web-components.min.js",
|
|
45
46
|
".": {
|
|
46
47
|
"require": "./index.js",
|
|
47
48
|
"import": "./index.mjs"
|