spoko-design-system 1.23.0 → 1.23.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/CHANGELOG.md +6 -0
- package/package.json +2 -2
- package/src/components/layout/Header.astro +13 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [1.23.1](https://github.com/polo-blue/sds/compare/v1.23.0...v1.23.1) (2025-12-15)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **header:** correct WPHeader microdata and improve semantics ([a37a26e](https://github.com/polo-blue/sds/commit/a37a26ef62a29e3e327076d715e2989102e4d60b))
|
|
6
|
+
|
|
1
7
|
## [1.23.0](https://github.com/polo-blue/sds/compare/v1.22.0...v1.23.0) (2025-12-15)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spoko-design-system",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"prettier-plugin-astro": "^0.14.1",
|
|
139
139
|
"semantic-release": "^25.0.2",
|
|
140
140
|
"unocss": "^0.65.0",
|
|
141
|
-
"vite": "^7.
|
|
141
|
+
"vite": "^7.3.0"
|
|
142
142
|
},
|
|
143
143
|
"packageManager": "pnpm@10.17.1",
|
|
144
144
|
"pnpm": {
|
|
@@ -18,9 +18,9 @@ const navItemsLeft = [
|
|
|
18
18
|
];
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
<
|
|
21
|
+
<header
|
|
22
22
|
itemscope
|
|
23
|
-
itemtype="
|
|
23
|
+
itemtype="https://schema.org/WPHeader"
|
|
24
24
|
class:list={[
|
|
25
25
|
className,
|
|
26
26
|
'nav print-hidden mx-auto px-4 shadow-md relative flex items-center justify-between h-24 sm:h-14 flex-wrap sm:flex-nowrap pt-1 sm:pt-0',
|
|
@@ -30,7 +30,12 @@ const navItemsLeft = [
|
|
|
30
30
|
<slot name="logo" />
|
|
31
31
|
|
|
32
32
|
<div class="hidden sm:block sm:ml-6">
|
|
33
|
-
<
|
|
33
|
+
<nav
|
|
34
|
+
class="flex space-x-4"
|
|
35
|
+
itemprop="hasPart"
|
|
36
|
+
itemscope
|
|
37
|
+
itemtype="https://schema.org/SiteNavigationElement"
|
|
38
|
+
>
|
|
34
39
|
{
|
|
35
40
|
navItemsLeft.map(({ title, description, url }) => (
|
|
36
41
|
<a
|
|
@@ -43,7 +48,7 @@ const navItemsLeft = [
|
|
|
43
48
|
</a>
|
|
44
49
|
))
|
|
45
50
|
}
|
|
46
|
-
</
|
|
51
|
+
</nav>
|
|
47
52
|
</div>
|
|
48
53
|
</div>
|
|
49
54
|
|
|
@@ -51,17 +56,17 @@ const navItemsLeft = [
|
|
|
51
56
|
<slot name="search" />
|
|
52
57
|
</div>
|
|
53
58
|
|
|
54
|
-
<
|
|
59
|
+
<nav
|
|
55
60
|
class="flex items-center pr-0 sm:static sm:inset-auto ml-auto sm:ml-6 -mr-2 print:hidden order-3 sm:order-3 w-20 justify-end"
|
|
56
61
|
itemprop="hasPart"
|
|
57
62
|
itemscope
|
|
58
|
-
itemtype="
|
|
63
|
+
itemtype="https://schema.org/SiteNavigationElement"
|
|
59
64
|
>
|
|
60
65
|
<a class="icon-btn mx-2" title="" aria-label="" href="#" itemprop="url" data-astro-reload>
|
|
61
66
|
<Icon name="carbon:language" />
|
|
62
67
|
</a>
|
|
63
|
-
</
|
|
64
|
-
</
|
|
68
|
+
</nav>
|
|
69
|
+
</header>
|
|
65
70
|
|
|
66
71
|
<style is:global>
|
|
67
72
|
nav {
|