spoko-design-system 1.1.4 → 1.1.5
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,9 @@
|
|
|
1
|
+
## [1.1.5](https://github.com/polo-blue/sds/compare/v1.1.4...v1.1.5) (2025-09-23)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* resolve additional ESLint warnings and improve type safety ([87ab770](https://github.com/polo-blue/sds/commit/87ab770b0c2e6c33a5936ec693b59e859481857e))
|
|
6
|
+
|
|
1
7
|
## [1.1.4](https://github.com/polo-blue/sds/compare/v1.1.3...v1.1.4) (2025-09-23)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
const { activeCategorySlug } = Astro.props;
|
|
2
|
+
const { activeCategorySlug, class: className } = Astro.props;
|
|
3
3
|
|
|
4
4
|
import { getTranslatedLink } from '@utils/text/getTranslatedLink';
|
|
5
5
|
import { getMainCategoryList } from '@utils/category/getMainCategoryList';
|
|
@@ -39,7 +39,7 @@ const activeIndex =
|
|
|
39
39
|
run-callbacks-on-init="false"
|
|
40
40
|
>
|
|
41
41
|
{
|
|
42
|
-
categories.map((category
|
|
42
|
+
categories.map((category) => (
|
|
43
43
|
<swiper-slide
|
|
44
44
|
itemprop="hasPart"
|
|
45
45
|
role="presentation"
|
package/src/pages/index.astro
CHANGED
|
@@ -6,7 +6,6 @@ import Layout from '../layouts/Layout.astro';
|
|
|
6
6
|
import Headline from '../components/Headline.vue';
|
|
7
7
|
import Button from '../components/Button.vue';
|
|
8
8
|
import Quote from '../components/Quote.vue';
|
|
9
|
-
import FeaturesList from '../components/FeaturesList.vue';
|
|
10
9
|
|
|
11
10
|
const navItems = [
|
|
12
11
|
{
|
package/src/pwa.ts
CHANGED
|
@@ -3,11 +3,11 @@ import { registerSW } from 'virtual:pwa-register';
|
|
|
3
3
|
registerSW({
|
|
4
4
|
immediate: true,
|
|
5
5
|
onRegisteredSW(swScriptUrl) {
|
|
6
|
-
// eslint-disable-next-line no-
|
|
6
|
+
// eslint-disable-next-line no-undef
|
|
7
7
|
console.log('SW registered: ', swScriptUrl);
|
|
8
8
|
},
|
|
9
9
|
onOfflineReady() {
|
|
10
|
-
// eslint-disable-next-line no-
|
|
10
|
+
// eslint-disable-next-line no-undef
|
|
11
11
|
console.log('PWA application ready to work offline');
|
|
12
12
|
},
|
|
13
13
|
});
|
package/src/types/index.ts
CHANGED
|
@@ -79,9 +79,9 @@ export interface Replacement {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export interface Color {
|
|
82
|
-
id:
|
|
83
|
-
slug:
|
|
84
|
-
name?:
|
|
82
|
+
id: number;
|
|
83
|
+
slug: string;
|
|
84
|
+
name?: string;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export interface DetailList {
|
|
@@ -189,27 +189,27 @@ export interface Product2FullSearch {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
export interface Link {
|
|
192
|
-
path:
|
|
193
|
-
name:
|
|
192
|
+
path: string;
|
|
193
|
+
name: string;
|
|
194
194
|
}
|
|
195
195
|
export interface EngineType {
|
|
196
|
-
id:
|
|
197
|
-
type:
|
|
196
|
+
id: number;
|
|
197
|
+
type: string;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
export interface Model {
|
|
201
|
-
id:
|
|
202
|
-
slug:
|
|
203
|
-
sort:
|
|
204
|
-
name:
|
|
201
|
+
id: number;
|
|
202
|
+
slug: string;
|
|
203
|
+
sort: number;
|
|
204
|
+
name: string;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
export interface Material {
|
|
208
|
-
id:
|
|
209
|
-
name:
|
|
210
|
-
slug:
|
|
211
|
-
sort:
|
|
212
|
-
value?:
|
|
208
|
+
id: number;
|
|
209
|
+
name: string;
|
|
210
|
+
slug: string;
|
|
211
|
+
sort: number | null;
|
|
212
|
+
value?: string | null;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
export interface ProductImage {
|