spoko-design-system 1.1.11 → 1.1.12
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 +6 -0
- package/eslint.config.js +10 -0
- package/package.json +1 -1
- package/src/components/ProductDetailsList.vue +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [1.1.12](https://github.com/polo-blue/sds/compare/v1.1.11...v1.1.12) (2025-09-23)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* restore normal console usage and add browser globals to ESLint config ([b8863af](https://github.com/polo-blue/sds/commit/b8863af8ec11266c8d612ea28129423a51d0a2d7))
|
|
6
|
+
|
|
1
7
|
## [1.1.11](https://github.com/polo-blue/sds/compare/v1.1.10...v1.1.11) (2025-09-23)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/eslint.config.js
CHANGED
|
@@ -16,6 +16,11 @@ export default [
|
|
|
16
16
|
ecmaVersion: 'latest',
|
|
17
17
|
sourceType: 'module',
|
|
18
18
|
},
|
|
19
|
+
globals: {
|
|
20
|
+
console: 'readonly',
|
|
21
|
+
window: 'readonly',
|
|
22
|
+
document: 'readonly',
|
|
23
|
+
},
|
|
19
24
|
},
|
|
20
25
|
plugins: {
|
|
21
26
|
'@typescript-eslint': typescript,
|
|
@@ -37,6 +42,11 @@ export default [
|
|
|
37
42
|
ecmaVersion: 'latest',
|
|
38
43
|
sourceType: 'module',
|
|
39
44
|
},
|
|
45
|
+
globals: {
|
|
46
|
+
console: 'readonly',
|
|
47
|
+
window: 'readonly',
|
|
48
|
+
document: 'readonly',
|
|
49
|
+
},
|
|
40
50
|
},
|
|
41
51
|
rules: {
|
|
42
52
|
'vue/multi-word-component-names': 'off',
|
package/package.json
CHANGED
|
@@ -97,7 +97,7 @@ const getLinkIconClass = (linkId: string) => {
|
|
|
97
97
|
const groupedItems = computed(() => {
|
|
98
98
|
// ✅ Add validation to ensure props.items is an array
|
|
99
99
|
if (!Array.isArray(props.items)) {
|
|
100
|
-
|
|
100
|
+
console.warn('ProductDetailsList: items prop is not an array:', props.items);
|
|
101
101
|
return [];
|
|
102
102
|
}
|
|
103
103
|
|