spoko-design-system 1.3.5 → 1.3.7
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.3.7](https://github.com/polo-blue/sds/compare/v1.3.6...v1.3.7) (2025-10-08)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* simplify CategoryDetails to use API paths directly ([28831c9](https://github.com/polo-blue/sds/commit/28831c9284c5e9ff484f7e51947cec95b2f41427))
|
|
6
|
+
|
|
7
|
+
## [1.3.6](https://github.com/polo-blue/sds/compare/v1.3.5...v1.3.6) (2025-10-07)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update CategoryDetails component ([1583a65](https://github.com/polo-blue/sds/commit/1583a65c10e7f38e1edfce79ac3bb90ab62fb29b))
|
|
12
|
+
|
|
1
13
|
## [1.3.5](https://github.com/polo-blue/sds/compare/v1.3.4...v1.3.5) (2025-10-07)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -14,10 +14,9 @@ const {
|
|
|
14
14
|
locale,
|
|
15
15
|
} = Astro.props;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
const categoryPath = category?.path ||
|
|
19
|
-
const subcategoryPath =
|
|
20
|
-
subcategory?.path || `${localePrefix}/${category.slug}/${subcategory?.slug}`;
|
|
17
|
+
// Use paths directly from API - they already include locale and proper slashes
|
|
18
|
+
const categoryPath = category?.path || `/${category.slug}/`;
|
|
19
|
+
const subcategoryPath = subcategory?.path || `/${category.slug}/${subcategory?.slug}/`;
|
|
21
20
|
---
|
|
22
21
|
|
|
23
22
|
<div
|