@sp-days-framework/slidev-theme-sykehuspartner 1.1.0-beta2 → 1.1.0-beta3
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/docs/changelog.mdx +17 -0
- package/layouts/end.vue +1 -0
- package/layouts/two-cols-header.vue +6 -0
- package/package.json +1 -1
- package/publish-package-docs.js +11 -3
- package/uno.config.ts +2 -1
package/docs/changelog.mdx
CHANGED
|
@@ -19,6 +19,23 @@ All packages within `@sp-days-framework` use the same version number. In some ca
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
+
## Version 1.1.0-beta3 
|
|
23
|
+
|
|
24
|
+
Bug fixes and improvements for theme stability across different project setups.
|
|
25
|
+
|
|
26
|
+
<details>
|
|
27
|
+
<summary><strong>Details</strong> (2025 December 12)</summary>
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
- **uno.config.ts**: Fixed codeblock icon scanning to work correctly when the theme is installed as a dependency in other projects
|
|
32
|
+
- **two-cols-header**: Fixed h2 and h3 heading margins to be consistent with other layouts
|
|
33
|
+
- **end layout**: Fixed text centering so content is properly horizontally centered
|
|
34
|
+
|
|
35
|
+
</details>
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
22
39
|
## Version 1.1.0-beta2 
|
|
23
40
|
|
|
24
41
|
Version bump to match other packages in the framework with minor documentation improvements
|
package/layouts/end.vue
CHANGED
package/package.json
CHANGED
package/publish-package-docs.js
CHANGED
|
@@ -6,7 +6,15 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
module.exports = {
|
|
9
|
-
id:
|
|
10
|
-
path: require(
|
|
11
|
-
|
|
9
|
+
id: "sykehuspartner-theme-docs",
|
|
10
|
+
path: require("path").join(__dirname, "docs"),
|
|
11
|
+
editUrl: function (params) {
|
|
12
|
+
// Remove node_modules/@sp-days-framework/slidev-theme-sykehuspartner/docs from the path
|
|
13
|
+
const cleanPath = params.docPath.replace(
|
|
14
|
+
/^.*node_modules\/@sp-days-framework\/slidev-theme-sykehuspartner\/docs\//,
|
|
15
|
+
"",
|
|
16
|
+
);
|
|
17
|
+
return `https://github.com/helse-sorost/sp-days-framework/edit/main/slidev-theme-sykehuspartner/docs/${cleanPath}`;
|
|
18
|
+
},
|
|
19
|
+
routeBasePath: "package-docs/sykehuspartner-theme",
|
|
12
20
|
};
|
package/uno.config.ts
CHANGED
|
@@ -6,7 +6,8 @@ import { globSync } from 'glob'
|
|
|
6
6
|
function scanFilesForIcons() {
|
|
7
7
|
try {
|
|
8
8
|
// Find all markdown files in the project directory and all subdirectories
|
|
9
|
-
|
|
9
|
+
// Use process.cwd() to scan from the actual project root, not the theme package location
|
|
10
|
+
const slideFiles = globSync('**/*.md', { absolute: true, cwd: process.cwd() })
|
|
10
11
|
|
|
11
12
|
// Pattern to match icon references like ~i-vscode-icons:file-type-ansible~
|
|
12
13
|
const iconPattern = /~(i-[a-zA-Z0-9-]+:[a-zA-Z0-9-]+)~/g
|