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.
@@ -16,7 +16,8 @@
16
16
  "Bash(git commit:*)",
17
17
  "Bash(git push:*)",
18
18
  "Bash(pnpm run:*)",
19
- "Bash(git stash:*)"
19
+ "Bash(git stash:*)",
20
+ "Bash(git pull:*)"
20
21
  ],
21
22
  "deny": [],
22
23
  "ask": []
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,6 +1,6 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "private": false,
5
5
  "main": "./index.ts",
6
6
  "module": "./index.ts",
@@ -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, index) => (
42
+ categories.map((category) => (
43
43
  <swiper-slide
44
44
  itemprop="hasPart"
45
45
  role="presentation"
@@ -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-console
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-console
10
+ // eslint-disable-next-line no-undef
11
11
  console.log('PWA application ready to work offline');
12
12
  },
13
13
  });
@@ -79,9 +79,9 @@ export interface Replacement {
79
79
  }
80
80
 
81
81
  export interface Color {
82
- id: Number;
83
- slug: String;
84
- name?: String;
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: String;
193
- name: String;
192
+ path: string;
193
+ name: string;
194
194
  }
195
195
  export interface EngineType {
196
- id: Number;
197
- type: String;
196
+ id: number;
197
+ type: string;
198
198
  }
199
199
 
200
200
  export interface Model {
201
- id: Number;
202
- slug: String;
203
- sort: Number;
204
- name: String;
201
+ id: number;
202
+ slug: string;
203
+ sort: number;
204
+ name: string;
205
205
  }
206
206
 
207
207
  export interface Material {
208
- id: Number;
209
- name: String;
210
- slug: String;
211
- sort: Number | null;
212
- value?: String | null;
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 {