spoko-design-system 1.9.2 → 1.9.3

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.9.3](https://github.com/polo-blue/sds/compare/v1.9.2...v1.9.3) (2025-10-30)
2
+
3
+ ### Bug Fixes
4
+
5
+ * auto-fix lint warnings and update eslint config ([dbead26](https://github.com/polo-blue/sds/commit/dbead26efdaaee60a9fc5764885ea4f4039040cc))
6
+
1
7
  ## [1.9.2](https://github.com/polo-blue/sds/compare/v1.9.1...v1.9.2) (2025-10-30)
2
8
 
3
9
  ### Bug Fixes
package/eslint.config.js CHANGED
@@ -51,6 +51,7 @@ export default [
51
51
  rules: {
52
52
  'vue/multi-word-component-names': 'off',
53
53
  'vue/no-unused-vars': 'warn',
54
+ 'vue/no-required-prop-with-default': 'off', // Props with defaults can still be required in Vue 3
54
55
  },
55
56
  },
56
57
 
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
+ "type": "module",
4
5
  "private": false,
5
6
  "main": "./index.ts",
6
7
  "module": "./index.ts",
@@ -58,7 +58,7 @@ const getVariantCategory = (code: string, fallback?: string): string | undefined
58
58
  <template>
59
59
  <span v-for="(prcode, index) in prcodes" :key="prcode?.id || index" class="not-last:mr-1">
60
60
  <template v-if="prcode?.code">
61
- <PrCode v-if="!prcode.code.includes('+')" :prcode="prcode" :isPdp="isPdp" />
61
+ <PrCode v-if="!prcode.code.includes('+')" :prcode="prcode" :is-pdp="isPdp" />
62
62
  <span v-else class="inline-flex items-center gap-1">
63
63
  <template v-for="(code, idx) in prcode.code.split('+')" :key="idx">
64
64
  <span v-if="idx > 0" class="text-sm opacity-75">+</span>
@@ -69,7 +69,7 @@ const getVariantCategory = (code: string, fallback?: string): string | undefined
69
69
  description: null,
70
70
  variant_category: getVariantCategory(code.trim(), prcode.variant_category),
71
71
  }"
72
- :isPdp="isPdp"
72
+ :is-pdp="isPdp"
73
73
  />
74
74
  </template>
75
75
  </span>
@@ -129,7 +129,7 @@ const closePermanently = () => {
129
129
 
130
130
  <span class="leading-none inline-flex">
131
131
  <slot>
132
- <span :data-text="props.message"></span>
132
+ <span :data-text="props.message" />
133
133
  <a
134
134
  v-if="props.linkUrl"
135
135
  :href="props.linkUrl"
@@ -138,8 +138,8 @@ const closePermanently = () => {
138
138
  :title="props.linkTitle || props.linkText"
139
139
  class="underline underline-offset-2 hover:text-blue-wrc ml-1.5"
140
140
  :data-text="props.linkText"
141
- ></a>
142
- <span v-if="props.linkUrl" data-text="."></span>
141
+ />
142
+ <span v-if="props.linkUrl" data-text="." />
143
143
  </slot>
144
144
  </span>
145
145