spoko-design-system 0.6.1 → 0.6.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/index.ts CHANGED
@@ -34,6 +34,7 @@ export { default as Input } from './src/components/Input.vue';
34
34
  export { default as PostCategories } from './src/components/Post/PostCategories.vue';
35
35
  export { default as CategorySidebarToggler } from './src/components/Category/CategorySidebarToggler.vue';
36
36
  export { default as SubCategoryLink } from './src/components/Category/SubCategoryLink.vue';
37
+ export { default as CategoryLink } from './src/components/Category/CategoryLink.vue';
37
38
 
38
39
  // Astro Components
39
40
  export { default as Copyright } from './src/components/Copyright.astro';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "private": false,
5
5
  "main": "./index.ts",
6
6
  "module": "./index.ts",
@@ -40,10 +40,10 @@
40
40
  "spoko design system"
41
41
  ],
42
42
  "dependencies": {
43
- "@algolia/client-search": "^5.20.4",
44
- "@astrojs/mdx": "^4.1.0",
45
- "@astrojs/node": "^9.1.2",
46
- "@astrojs/sitemap": "^3.2.1",
43
+ "@algolia/client-search": "^5.21.0",
44
+ "@astrojs/mdx": "^4.2.1",
45
+ "@astrojs/node": "^9.1.3",
46
+ "@astrojs/sitemap": "^3.3.0",
47
47
  "@astrojs/ts-plugin": "^1.10.4",
48
48
  "@astrojs/vue": "^5.0.7",
49
49
  "@docsearch/css": "^3.9.0",
@@ -57,57 +57,57 @@
57
57
  "@iconify-json/eos-icons": "^1.2.2",
58
58
  "@iconify-json/et": "^1.2.1",
59
59
  "@iconify-json/flowbite": "^1.2.4",
60
- "@iconify-json/fluent": "^1.2.15",
60
+ "@iconify-json/fluent": "^1.2.16",
61
61
  "@iconify-json/fluent-emoji": "1.2.3",
62
62
  "@iconify-json/ic": "^1.2.2",
63
63
  "@iconify-json/icon-park-outline": "^1.2.2",
64
64
  "@iconify-json/la": "^1.2.1",
65
- "@iconify-json/material-symbols-light": "^1.2.15",
65
+ "@iconify-json/material-symbols-light": "^1.2.16",
66
66
  "@iconify-json/mdi": "^1.2.3",
67
67
  "@iconify-json/noto-v1": "^1.2.2",
68
68
  "@iconify-json/octicon": "^1.2.5",
69
69
  "@iconify-json/ph": "^1.2.2",
70
- "@iconify-json/simple-icons": "^1.2.27",
70
+ "@iconify-json/simple-icons": "^1.2.29",
71
71
  "@iconify-json/system-uicons": "^1.2.2",
72
72
  "@iconify-json/uil": "^1.2.3",
73
- "@iconify/json": "^2.2.314",
73
+ "@iconify/json": "^2.2.318",
74
74
  "@iconify/vue": "^4.3.0",
75
75
  "@playform/compress": "^0.1.7",
76
76
  "@playform/inline": "^0.1.1",
77
- "@unocss/astro": "66.1.0-beta.3",
78
- "@unocss/preset-attributify": "66.1.0-beta.3",
79
- "@unocss/preset-typography": "66.1.0-beta.3",
80
- "@unocss/preset-uno": "66.1.0-beta.3",
81
- "@unocss/preset-web-fonts": "66.1.0-beta.3",
82
- "@unocss/preset-wind": "66.1.0-beta.3",
83
- "@unocss/reset": "66.1.0-beta.3",
77
+ "@unocss/astro": "66.1.0-beta.6",
78
+ "@unocss/preset-attributify": "66.1.0-beta.6",
79
+ "@unocss/preset-typography": "66.1.0-beta.6",
80
+ "@unocss/preset-uno": "66.1.0-beta.6",
81
+ "@unocss/preset-web-fonts": "66.1.0-beta.6",
82
+ "@unocss/preset-wind": "66.1.0-beta.6",
83
+ "@unocss/reset": "66.1.0-beta.6",
84
84
  "@vite-pwa/astro": "^0.5.0",
85
- "@vueuse/core": "^12.8.2",
85
+ "@vueuse/core": "^13.0.0",
86
86
  "astro-i18next": "1.0.0-beta.21",
87
87
  "astro-icon": "^1.1.5",
88
88
  "astro-meta-tags": "^0.3.1",
89
89
  "astro-navbar": "^2.3.9",
90
- "astro-pagefind": "^1.8.1",
90
+ "astro-pagefind": "^1.8.3",
91
91
  "astro-remote": "^0.3.3",
92
92
  "dotenv": "^16.4.7",
93
- "i18next": "^24.2.2",
93
+ "i18next": "^24.2.3",
94
94
  "i18next-browser-languagedetector": "^8.0.4",
95
95
  "i18next-fs-backend": "^2.6.0",
96
96
  "i18next-http-backend": "^3.0.2",
97
97
  "i18next-vue": "^5.2.0",
98
- "swiper": "^11.2.5",
99
- "unocss": "66.1.0-beta.3",
98
+ "swiper": "^11.2.6",
99
+ "unocss": "66.1.0-beta.6",
100
100
  "vue": "^3.5.13"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@types/gtag.js": "^0.0.20",
104
104
  "@types/node": "^22.13.10",
105
- "@unocss/transformer-variant-group": "66.1.0-beta.3",
106
- "@vitejs/plugin-vue": "^5.2.1",
105
+ "@unocss/transformer-variant-group": "66.1.0-beta.6",
106
+ "@vitejs/plugin-vue": "^5.2.3",
107
107
  "@vue/compiler-sfc": "^3.5.13",
108
- "astro": "^5.4.2",
108
+ "astro": "^5.5.3",
109
109
  "unocss": "^0.65.0",
110
- "vite": "^6.2.1"
110
+ "vite": "^6.2.2"
111
111
  },
112
112
  "packageManager": "pnpm@9.15.3",
113
113
  "pnpm": {
@@ -0,0 +1,27 @@
1
+ <template>
2
+ <div class="text-light-blue-400 uppercase text-base z-3 relative w-full">
3
+ <template v-if="categories">
4
+ <template v-for="(category, index) in categories" :key="category.uri">
5
+ <a
6
+ class="term-link text-sm sm:text-base"
7
+ :class="{ 'before:content-empty before:w-px before:h-2.5 before:bg-gray-300 before:mx-2.5 before:inline-block before:relative': index > 0 }"
8
+ :href="category.uri"
9
+ >
10
+ {{ category.name }}
11
+ </a>
12
+ </template>
13
+ </template>
14
+ </div>
15
+ </template>
16
+
17
+ <script>
18
+ export default {
19
+ name: 'CategoryLink',
20
+ props: {
21
+ categories: {
22
+ type: Array,
23
+ default: () => []
24
+ }
25
+ }
26
+ }
27
+ </script>