spoko-design-system 1.3.4 → 1.3.6
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.6](https://github.com/polo-blue/sds/compare/v1.3.5...v1.3.6) (2025-10-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* update CategoryDetails component ([1583a65](https://github.com/polo-blue/sds/commit/1583a65c10e7f38e1edfce79ac3bb90ab62fb29b))
|
|
6
|
+
|
|
7
|
+
## [1.3.5](https://github.com/polo-blue/sds/compare/v1.3.4...v1.3.5) (2025-10-07)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove unused baseURL variable ([c0259f7](https://github.com/polo-blue/sds/commit/c0259f7c9ed0367c18e0c2dbfa34903d28abe49c))
|
|
12
|
+
|
|
1
13
|
## [1.3.4](https://github.com/polo-blue/sds/compare/v1.3.3...v1.3.4) (2025-10-07)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -14,11 +14,15 @@ const {
|
|
|
14
14
|
locale,
|
|
15
15
|
} = Astro.props;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
|
|
17
|
+
// Use paths directly from API - they already include locale prefixes
|
|
18
|
+
// Ensure paths always start with /
|
|
19
|
+
const ensureLeadingSlash = (path: string) => path?.startsWith('/') ? path : `/${path}`;
|
|
20
|
+
const categoryPath = category?.path
|
|
21
|
+
? ensureLeadingSlash(category.path)
|
|
22
|
+
: `/${category.slug}/`;
|
|
23
|
+
const subcategoryPath = subcategory?.path
|
|
24
|
+
? ensureLeadingSlash(subcategory.path)
|
|
25
|
+
: `/${category.slug}/${subcategory?.slug}/`;
|
|
22
26
|
---
|
|
23
27
|
|
|
24
28
|
<div
|