spoko-design-system 1.23.0 → 1.23.2

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## [1.23.2](https://github.com/polo-blue/sds/compare/v1.23.1...v1.23.2) (2025-12-16)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **category:** add itemprop url to CategoryTile link ([1f4831d](https://github.com/polo-blue/sds/commit/1f4831de8551395509c74dac7fe7b883f5a2d4d7))
6
+
7
+ ## [1.23.1](https://github.com/polo-blue/sds/compare/v1.23.0...v1.23.1) (2025-12-15)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **header:** correct WPHeader microdata and improve semantics ([a37a26e](https://github.com/polo-blue/sds/commit/a37a26ef62a29e3e327076d715e2989102e4d60b))
12
+
1
13
  ## [1.23.0](https://github.com/polo-blue/sds/compare/v1.22.0...v1.23.0) (2025-12-15)
2
14
 
3
15
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "1.23.0",
3
+ "version": "1.23.2",
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.2.7"
141
+ "vite": "^7.3.0"
142
142
  },
143
143
  "packageManager": "pnpm@10.17.1",
144
144
  "pnpm": {
@@ -18,7 +18,7 @@ const { CategoryObject } = Astro.props;
18
18
  const { height = 70, width = 70, path } = CategoryObject;
19
19
  ---
20
20
 
21
- <a href={path} class="carousel-item" data-astro-prefetch>
21
+ <a href={path} class="carousel-item" data-astro-prefetch itemprop="url">
22
22
  <Image
23
23
  src={CategoryObject.photo}
24
24
  alt={CategoryObject.alt}
@@ -18,9 +18,9 @@ const navItemsLeft = [
18
18
  ];
19
19
  ---
20
20
 
21
- <nav
21
+ <header
22
22
  itemscope
23
- itemtype="http://schema.org/WPHeader"
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
- <div class="flex space-x-4" itemprop="hasPart">
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
- </div>
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
- <div
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="http://schema.org/SiteNavigationElement"
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
- </div>
64
- </nav>
68
+ </nav>
69
+ </header>
65
70
 
66
71
  <style is:global>
67
72
  nav {