spoko-design-system 1.11.2 → 1.11.4

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,11 @@
1
+ ## [1.11.4](https://github.com/polo-blue/sds/compare/v1.11.3...v1.11.4) (2025-11-19)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **sonar:** disable coverage requirements for design system ([8ce765b](https://github.com/polo-blue/sds/commit/8ce765bb55960a05f9e1f6ca29ef32e5d2d2cc63))
6
+
7
+ ## [1.11.3](https://github.com/polo-blue/sds/compare/v1.11.2...v1.11.3) (2025-11-17)
8
+
1
9
  ## [1.11.2](https://github.com/polo-blue/sds/compare/v1.11.1...v1.11.2) (2025-10-30)
2
10
 
3
11
  ## [1.11.1](https://github.com/polo-blue/sds/compare/v1.11.0...v1.11.1) (2025-10-30)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "1.11.2",
3
+ "version": "1.11.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./index.ts",
@@ -54,13 +54,13 @@
54
54
  "spoko design system"
55
55
  ],
56
56
  "dependencies": {
57
- "@algolia/client-search": "^5.42.0",
58
- "@astrojs/mdx": "^4.3.9",
57
+ "@algolia/client-search": "^5.44.0",
58
+ "@astrojs/mdx": "^4.3.10",
59
59
  "@astrojs/node": "^9.5.0",
60
60
  "@astrojs/sitemap": "^3.6.0",
61
61
  "@astrojs/ts-plugin": "^1.10.5",
62
- "@astrojs/vue": "^5.1.2",
63
- "@docsearch/css": "^4.2.0",
62
+ "@astrojs/vue": "^5.1.3",
63
+ "@docsearch/css": "^4.3.2",
64
64
  "@floating-ui/vue": "^1.1.9",
65
65
  "@iconify-json/ant-design": "^1.2.5",
66
66
  "@iconify-json/bi": "^1.2.6",
@@ -77,30 +77,30 @@
77
77
  "@iconify-json/ic": "^1.2.4",
78
78
  "@iconify-json/icon-park-outline": "^1.2.4",
79
79
  "@iconify-json/la": "^1.2.1",
80
- "@iconify-json/lucide": "^1.2.71",
81
- "@iconify-json/material-symbols-light": "^1.2.43",
80
+ "@iconify-json/lucide": "^1.2.73",
81
+ "@iconify-json/material-symbols-light": "^1.2.46",
82
82
  "@iconify-json/mdi": "^1.2.3",
83
83
  "@iconify-json/noto-v1": "^1.2.5",
84
- "@iconify-json/octicon": "^1.2.16",
84
+ "@iconify-json/octicon": "^1.2.19",
85
85
  "@iconify-json/ph": "^1.2.2",
86
- "@iconify-json/simple-icons": "^1.2.56",
86
+ "@iconify-json/simple-icons": "^1.2.58",
87
87
  "@iconify-json/streamline": "^1.2.5",
88
88
  "@iconify-json/streamline-emojis": "^1.2.4",
89
89
  "@iconify-json/streamline-freehand-color": "^1.2.2",
90
90
  "@iconify-json/system-uicons": "^1.2.4",
91
91
  "@iconify-json/uil": "^1.2.3",
92
- "@iconify-json/vscode-icons": "^1.2.33",
93
- "@iconify/json": "^2.2.401",
92
+ "@iconify-json/vscode-icons": "^1.2.34",
93
+ "@iconify/json": "^2.2.407",
94
94
  "@iconify/vue": "^5.0.0",
95
95
  "@playform/compress": "^0.2.0",
96
96
  "@playform/inline": "^0.1.2",
97
- "@unocss/astro": "66.5.4",
98
- "@unocss/preset-attributify": "66.5.4",
99
- "@unocss/preset-typography": "66.5.4",
100
- "@unocss/preset-uno": "66.5.4",
101
- "@unocss/preset-web-fonts": "66.5.4",
102
- "@unocss/preset-wind": "66.5.4",
103
- "@unocss/reset": "66.5.4",
97
+ "@unocss/astro": "66.5.6",
98
+ "@unocss/preset-attributify": "66.5.6",
99
+ "@unocss/preset-typography": "66.5.6",
100
+ "@unocss/preset-uno": "66.5.6",
101
+ "@unocss/preset-web-fonts": "66.5.6",
102
+ "@unocss/preset-wind": "66.5.6",
103
+ "@unocss/reset": "66.5.6",
104
104
  "@vite-pwa/astro": "^1.1.1",
105
105
  "@vueuse/core": "^14.0.0",
106
106
  "astro-icon": "^1.1.5",
@@ -111,9 +111,9 @@
111
111
  "dotenv": "^17.2.3",
112
112
  "swiper": "^12.0.3",
113
113
  "tippy.js": "^6.3.7",
114
- "unocss": "66.5.4",
114
+ "unocss": "66.5.6",
115
115
  "vite-plugin-pwa": "^1.1.0",
116
- "vue": "^3.5.22"
116
+ "vue": "^3.5.24"
117
117
  },
118
118
  "devDependencies": {
119
119
  "@commitlint/cli": "^20.1.0",
@@ -121,24 +121,24 @@
121
121
  "@semantic-release/changelog": "^6.0.3",
122
122
  "@semantic-release/git": "^10.0.1",
123
123
  "@types/gtag.js": "^0.0.20",
124
- "@types/node": "^24.9.2",
125
- "@typescript-eslint/eslint-plugin": "^8.46.2",
126
- "@typescript-eslint/parser": "^8.46.2",
127
- "@unocss/transformer-variant-group": "66.5.4",
124
+ "@types/node": "^24.10.1",
125
+ "@typescript-eslint/eslint-plugin": "^8.46.4",
126
+ "@typescript-eslint/parser": "^8.46.4",
127
+ "@unocss/transformer-variant-group": "66.5.6",
128
128
  "@vitejs/plugin-vue": "^6.0.1",
129
- "@vue/compiler-sfc": "^3.5.22",
129
+ "@vue/compiler-sfc": "^3.5.24",
130
130
  "@vue/eslint-config-typescript": "^14.6.0",
131
- "astro": "^5.15.3",
131
+ "astro": "^5.15.8",
132
132
  "conventional-changelog-conventionalcommits": "^9.1.0",
133
- "eslint": "^9.38.0",
134
- "eslint-plugin-astro": "^1.4.0",
133
+ "eslint": "^9.39.1",
134
+ "eslint-plugin-astro": "^1.5.0",
135
135
  "eslint-plugin-vue": "^10.5.1",
136
136
  "husky": "^9.1.7",
137
137
  "prettier": "^3.6.2",
138
138
  "prettier-plugin-astro": "^0.14.1",
139
- "semantic-release": "^25.0.1",
139
+ "semantic-release": "^25.0.2",
140
140
  "unocss": "^0.65.0",
141
- "vite": "^7.1.12"
141
+ "vite": "^7.2.2"
142
142
  },
143
143
  "packageManager": "pnpm@10.17.1",
144
144
  "pnpm": {
@@ -8,6 +8,10 @@ sonar.projectVersion=1.0.0
8
8
  # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
9
9
  sonar.sources=src,uno-config,icon.config.ts,astro.config.mjs
10
10
  sonar.exclusions=**/node_modules/**,**/dist/**,**/*.spec.ts,**/*.test.ts,**/coverage/**,**/.astro/**
11
+ sonar.coverage.exclusions=**/*
12
+
13
+ # Disable coverage requirement for design system (component library)
14
+ sonar.qualitygate.wait=false
11
15
 
12
16
  # Language
13
17
  sonar.javascript.lcov.reportPaths=coverage/lcov.info
@@ -7,22 +7,18 @@ interface Props {
7
7
  desc: string;
8
8
  alt: string;
9
9
  name: string;
10
- slug: string;
10
+ path: string;
11
11
  height?: number;
12
12
  width?: number;
13
13
  class?: string;
14
14
  };
15
- locale?: string;
16
15
  }
17
16
 
18
- const { CategoryObject, locale = 'en' } = Astro.props;
19
- const { height = 70, width = 70 } = CategoryObject;
20
-
21
- const prefix = locale === 'en' ? '' : `${locale}/`;
22
- const href = `/${prefix}${CategoryObject.slug}/`;
17
+ const { CategoryObject } = Astro.props;
18
+ const { height = 70, width = 70, path } = CategoryObject;
23
19
  ---
24
20
 
25
- <a href={href} class="carousel-item" data-astro-prefetch>
21
+ <a href={path} class="carousel-item" data-astro-prefetch>
26
22
  <Image
27
23
  src={CategoryObject.photo}
28
24
  alt={CategoryObject.alt}
@@ -50,7 +50,7 @@ export const componentShortcuts = [
50
50
  ['carousel-big', 'shadow-[inset_0_10px_60px_-15px_rgba(0,0,0,0.1)] w-full h-full'],
51
51
 
52
52
  // PDP (Product Detail Page)
53
- ['pdp-headline', 'text-2xl mb-4 sm:(font-normal mb-6 text-4xl) lg:pr-0 2xl:text-5xl font-headbold text-black font-bold pr-7 pt-0 leading-none'],
53
+ ['pdp-headline', 'text-2xl mb-4 pr-4 sm:(font-normal mb-6 text-4xl pr-5) lg:pr-0 2xl:(text-5xl pr-7) font-headbold text-black font-bold pt-0 leading-none'],
54
54
  ['pdp-detail-row', `text-sm mt-1 md:mt-4 mb-4 grid ${LAYOUT.grid.cols2} sm:(grid-cols-details-desktop grid-flow-col auto-cols-max) gap-4`],
55
55
  ['pdp-slider-thumb', 'block h-22.5 w-31 min-w-31 mb-2'],
56
56
 
@@ -121,4 +121,4 @@ export const componentShortcuts = [
121
121
  ['link-primary', 'leading-none text-brand-primary hover:text-accent-light hover:underline'],
122
122
 
123
123
 
124
- ];
124
+ ];
@@ -140,7 +140,7 @@ export const PRODUCT_STYLES = {
140
140
  bigTile: `${aspectRatios['4/3']} ${LAYOUT.flex.center} mb-3 w-60 min-w-60 h-auto object-contain object-top bg-gray-50 relative ${IMAGE_STYLES.overlay}`,
141
141
  },
142
142
  image: {
143
- base: `${aspectRatios['4/3']} ${IMAGE_STYLES.base} ${IMAGE_STYLES.overlay}`,
143
+ base: `${aspectRatios['4/3']} ${IMAGE_STYLES.base} ${IMAGE_STYLES.overlay} w-full`,
144
144
  small: `${aspectRatios['4/3']} ${IMAGE_STYLES.base} ${IMAGE_STYLES.overlay} w-22 h-auto`,
145
145
  large: `${aspectRatios['4/3']} ${IMAGE_STYLES.base} ${IMAGE_STYLES.overlay} w-60 h-auto`,
146
146
  },
@@ -153,4 +153,5 @@ export const PRODUCT_STYLES = {
153
153
  medium: 'w-30 min-w-30',
154
154
  large: 'w-60 min-w-60',
155
155
  },
156
- } as const
156
+
157
+ } as const
@@ -71,5 +71,5 @@ export const layoutShortcuts = [
71
71
  ['colon-after', 'after:content-[":"]'],
72
72
  ['adsbygoogle', 'w-full text-center'],
73
73
  ['underline-on-hover', `${LAYOUT.position.relative} ${LAYOUT.flex.base} w-full ${COLORS.bgWhite} pb-1 after:absolute after:w-[calc(100%-1rem)] after:left-0 after:h-px after:top-[calc(100%-1px)] after:bottom-1 after:content-empty after:scale-x-0 after:transition-transform-300 after:origin-top-right hover:after:origin-top-left hover:after:scale-x-100`],
74
- ['cat-link', `cursor-pointer text-accent-deepBlue ${COLORS.textNeutralLight} hover:(text-brand-secondary underline) uppercase py-2 md:py-0`],
75
- ];
74
+ ['cat-link', `${TYPOGRAPHY.headline.bold} cursor-pointer text-accent-deepBlue ${COLORS.textNeutralLight} hover:(text-brand-secondary underline) uppercase py-2 md:py-0`],
75
+ ];