@purestack/ts-components 1.1.0 → 1.1.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purestack/ts-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"packageManager": "yarn@4.9.2",
|
|
5
5
|
"module": "./dist/ts-components.mjs",
|
|
6
6
|
"types": "./dist/ts-components.d.mts",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"test": "vitest"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@purestack/ts-minidom": "^1.1.
|
|
50
|
-
"@purestack/ts-render": "^1.1.
|
|
49
|
+
"@purestack/ts-minidom": "^1.1.1",
|
|
50
|
+
"@purestack/ts-render": "^1.1.1"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@purestack/ts-common": "^1.1.
|
|
54
|
-
"@purestack/ts-css": "^1.1.
|
|
55
|
-
"@purestack/ts-page-scripts": "^1.1.
|
|
56
|
-
"@purestack/ts-style": "^1.1.
|
|
57
|
-
"@purestack/ts-util": "^1.1.
|
|
53
|
+
"@purestack/ts-common": "^1.1.1",
|
|
54
|
+
"@purestack/ts-css": "^1.1.1",
|
|
55
|
+
"@purestack/ts-page-scripts": "^1.1.1",
|
|
56
|
+
"@purestack/ts-style": "^1.1.1",
|
|
57
|
+
"@purestack/ts-util": "^1.1.1",
|
|
58
58
|
"regor": "^1.7.3"
|
|
59
59
|
},
|
|
60
60
|
"regorComponents": [
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"BtnGroup",
|
|
69
69
|
"BtnGroupDropDown",
|
|
70
70
|
"BtnLink",
|
|
71
|
+
"ClassicLogo",
|
|
71
72
|
"CodeShowcase",
|
|
72
73
|
"ComparisonColumn",
|
|
73
74
|
"ComparisonFeature",
|
|
@@ -114,7 +114,7 @@ function toPageTocItems(items: PageOutlineItem[]): PageTocItem[] {
|
|
|
114
114
|
function omitSingleDocumentHeading(items: PageOutlineItem[]) {
|
|
115
115
|
if (items.length !== 1) return items
|
|
116
116
|
const [item] = items
|
|
117
|
-
if (
|
|
117
|
+
if (item?.depth !== 1) return items
|
|
118
118
|
return item.children ?? []
|
|
119
119
|
}
|
|
120
120
|
|