spoko-design-system 0.9.4 → 0.9.6

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/package.json CHANGED
@@ -1,125 +1,129 @@
1
- {
2
- "name": "spoko-design-system",
3
- "version": "0.9.4",
4
- "private": false,
5
- "main": "./index.ts",
6
- "module": "./index.ts",
7
- "types": "./index.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./index.ts",
11
- "require": "./index.ts"
12
- },
13
- "./styles/*": "./src/styles/*",
14
- "./icons": "./icon.config.ts",
15
- "./icon-collections": "./icon.collections.ts",
16
- "./uno-config": "./uno-config/index.ts"
17
- },
18
- "scripts": {
19
- "dev": "astro dev",
20
- "start": "astro dev",
21
- "build": "astro build",
22
- "preview": "astro preview"
23
- },
24
- "repository": {
25
- "type": "git",
26
- "url": "https://github.com/polo-blue/sds"
27
- },
28
- "author": {
29
- "name": "spokospace",
30
- "email": "szymon@spoko.space",
31
- "url": "https://spoko.space"
32
- },
33
- "homepage": "https://sds.spoko.space/",
34
- "license": "MIT",
35
- "keywords": [
36
- "astro-starter",
37
- "seo",
38
- "astro",
39
- "sds design system",
40
- "spoko design system"
41
- ],
42
- "dependencies": {
43
- "@algolia/client-search": "^5.35.0",
44
- "@astrojs/mdx": "^4.3.4",
45
- "@astrojs/node": "^9.4.2",
46
- "@astrojs/sitemap": "^3.5.0",
47
- "@astrojs/ts-plugin": "^1.10.4",
48
- "@astrojs/vue": "^5.1.0",
49
- "@docsearch/css": "^3.9.0",
50
- "@iconify-json/ant-design": "^1.2.5",
51
- "@iconify-json/bi": "^1.2.6",
52
- "@iconify-json/bx": "^1.2.2",
53
- "@iconify-json/carbon": "^1.2.13",
54
- "@iconify-json/circle-flags": "^1.2.8",
55
- "@iconify-json/ei": "^1.2.2",
56
- "@iconify-json/el": "^1.2.2",
57
- "@iconify-json/eos-icons": "^1.2.4",
58
- "@iconify-json/et": "^1.2.1",
59
- "@iconify-json/flowbite": "^1.2.7",
60
- "@iconify-json/fluent": "^1.2.28",
61
- "@iconify-json/fluent-emoji": "1.2.6",
62
- "@iconify-json/ic": "^1.2.4",
63
- "@iconify-json/icon-park-outline": "^1.2.4",
64
- "@iconify-json/la": "^1.2.1",
65
- "@iconify-json/lucide": "^1.2.63",
66
- "@iconify-json/material-symbols-light": "^1.2.32",
67
- "@iconify-json/mdi": "^1.2.3",
68
- "@iconify-json/noto-v1": "^1.2.5",
69
- "@iconify-json/octicon": "^1.2.10",
70
- "@iconify-json/ph": "^1.2.2",
71
- "@iconify-json/simple-icons": "^1.2.48",
72
- "@iconify-json/system-uicons": "^1.2.4",
73
- "@iconify-json/uil": "^1.2.3",
74
- "@iconify/json": "^2.2.376",
75
- "@iconify/vue": "^5.0.0",
76
- "@playform/compress": "^0.2.0",
77
- "@playform/inline": "^0.1.2",
78
- "@unocss/astro": "66.4.2",
79
- "@unocss/preset-attributify": "66.4.2",
80
- "@unocss/preset-typography": "66.4.2",
81
- "@unocss/preset-uno": "66.4.2",
82
- "@unocss/preset-web-fonts": "66.4.2",
83
- "@unocss/preset-wind": "66.4.2",
84
- "@unocss/reset": "66.4.2",
85
- "@vite-pwa/astro": "^1.1.0",
86
- "@vueuse/core": "^13.7.0",
87
- "astro-i18next": "1.0.0-beta.21",
88
- "astro-icon": "^1.1.5",
89
- "astro-meta-tags": "^0.4.0",
90
- "astro-navbar": "^2.4.0",
91
- "astro-pagefind": "^1.8.3",
92
- "astro-remote": "^0.3.4",
93
- "dotenv": "^17.2.1",
94
- "i18next": "^25.3.6",
95
- "i18next-browser-languagedetector": "^8.2.0",
96
- "i18next-fs-backend": "^2.6.0",
97
- "i18next-http-backend": "^3.0.2",
98
- "i18next-vue": "^5.3.0",
99
- "swiper": "^11.2.10",
100
- "unocss": "66.4.2",
101
- "vue": "^3.5.18"
102
- },
103
- "devDependencies": {
104
- "@types/gtag.js": "^0.0.20",
105
- "@types/node": "^24.3.0",
106
- "@unocss/transformer-variant-group": "66.4.2",
107
- "@vitejs/plugin-vue": "^6.0.1",
108
- "@vue/compiler-sfc": "^3.5.18",
109
- "astro": "^5.13.2",
110
- "unocss": "^0.65.0",
111
- "vite": "^7.1.3"
112
- },
113
- "packageManager": "pnpm@10.16.1",
114
- "pnpm": {
115
- "default": "9.15.3",
116
- "overrides": {
117
- "file-type@>=17.0.0 <17.1.3": ">=17.1.3",
118
- "sharp@<0.30.5": ">=0.30.5"
119
- }
120
- },
121
- "engines": {
122
- "node": ">=18.14.1",
123
- "pnpm": ">=9.15.3"
124
- }
1
+ {
2
+ "name": "spoko-design-system",
3
+ "version": "0.9.6",
4
+ "private": false,
5
+ "main": "./index.ts",
6
+ "module": "./index.ts",
7
+ "types": "./index.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./index.ts",
11
+ "require": "./index.ts"
12
+ },
13
+ "./styles/*": "./src/styles/*",
14
+ "./icons": "./icon.config.ts",
15
+ "./icon-collections": "./icon.collections.ts",
16
+ "./uno-config": "./uno-config/index.ts"
17
+ },
18
+ "scripts": {
19
+ "dev": "astro dev",
20
+ "start": "astro dev",
21
+ "build": "astro build",
22
+ "preview": "astro preview"
23
+ },
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/polo-blue/sds"
27
+ },
28
+ "author": {
29
+ "name": "spokospace",
30
+ "email": "szymon@spoko.space",
31
+ "url": "https://spoko.space"
32
+ },
33
+ "homepage": "https://sds.spoko.space/",
34
+ "license": "MIT",
35
+ "keywords": [
36
+ "astro-starter",
37
+ "seo",
38
+ "astro",
39
+ "sds design system",
40
+ "spoko design system"
41
+ ],
42
+ "dependencies": {
43
+ "@algolia/client-search": "^5.37.0",
44
+ "@astrojs/mdx": "^4.3.6",
45
+ "@astrojs/node": "^9.4.4",
46
+ "@astrojs/sitemap": "^3.6.0",
47
+ "@astrojs/ts-plugin": "^1.10.4",
48
+ "@astrojs/vue": "^5.1.1",
49
+ "@docsearch/css": "^4.1.0",
50
+ "@iconify-json/ant-design": "^1.2.5",
51
+ "@iconify-json/bi": "^1.2.6",
52
+ "@iconify-json/bx": "^1.2.2",
53
+ "@iconify-json/carbon": "^1.2.13",
54
+ "@iconify-json/circle-flags": "^1.2.8",
55
+ "@iconify-json/ei": "^1.2.2",
56
+ "@iconify-json/el": "^1.2.2",
57
+ "@iconify-json/eos-icons": "^1.2.4",
58
+ "@iconify-json/et": "^1.2.1",
59
+ "@iconify-json/flowbite": "^1.2.7",
60
+ "@iconify-json/fluent": "^1.2.31",
61
+ "@iconify-json/fluent-emoji": "1.2.6",
62
+ "@iconify-json/ic": "^1.2.4",
63
+ "@iconify-json/icon-park-outline": "^1.2.4",
64
+ "@iconify-json/la": "^1.2.1",
65
+ "@iconify-json/lucide": "^1.2.68",
66
+ "@iconify-json/material-symbols-light": "^1.2.37",
67
+ "@iconify-json/mdi": "^1.2.3",
68
+ "@iconify-json/noto-v1": "^1.2.5",
69
+ "@iconify-json/octicon": "^1.2.14",
70
+ "@iconify-json/ph": "^1.2.2",
71
+ "@iconify-json/simple-icons": "^1.2.52",
72
+ "@iconify-json/system-uicons": "^1.2.4",
73
+ "@iconify-json/uil": "^1.2.3",
74
+ "@iconify/json": "^2.2.386",
75
+ "@iconify/vue": "^5.0.0",
76
+ "@playform/compress": "^0.2.0",
77
+ "@playform/inline": "^0.1.2",
78
+ "@unocss/astro": "66.5.1",
79
+ "@unocss/preset-attributify": "66.5.1",
80
+ "@unocss/preset-typography": "66.5.1",
81
+ "@unocss/preset-uno": "66.5.1",
82
+ "@unocss/preset-web-fonts": "66.5.1",
83
+ "@unocss/preset-wind": "66.5.1",
84
+ "@unocss/reset": "66.5.1",
85
+ "@vite-pwa/astro": "^1.1.0",
86
+ "@vueuse/core": "^13.9.0",
87
+ "astro-i18next": "1.0.0-beta.21",
88
+ "astro-icon": "^1.1.5",
89
+ "astro-meta-tags": "^0.4.0",
90
+ "astro-navbar": "^2.4.0",
91
+ "astro-pagefind": "^1.8.5",
92
+ "astro-remote": "^0.3.4",
93
+ "dotenv": "^17.2.2",
94
+ "i18next": "^25.5.2",
95
+ "i18next-browser-languagedetector": "^8.2.0",
96
+ "i18next-fs-backend": "^2.6.0",
97
+ "i18next-http-backend": "^3.0.2",
98
+ "i18next-vue": "^5.3.0",
99
+ "swiper": "^12.0.2",
100
+ "unocss": "66.5.1",
101
+ "vue": "^3.5.21"
102
+ },
103
+ "devDependencies": {
104
+ "@types/gtag.js": "^0.0.20",
105
+ "@types/node": "^24.5.2",
106
+ "@unocss/transformer-variant-group": "66.5.1",
107
+ "@vitejs/plugin-vue": "^6.0.1",
108
+ "@vue/compiler-sfc": "^3.5.21",
109
+ "astro": "^5.13.10",
110
+ "unocss": "^0.65.0",
111
+ "vite": "^7.1.7"
112
+ },
113
+ "packageManager": "pnpm@10.16.1",
114
+ "pnpm": {
115
+ "default": "9.15.3",
116
+ "overrides": {
117
+ "file-type@>=17.0.0 <17.1.3": ">=17.1.3",
118
+ "sharp@<0.30.5": ">=0.30.5"
119
+ },
120
+ "ignoredBuiltDependencies": [
121
+ "esbuild",
122
+ "sharp"
123
+ ]
124
+ },
125
+ "engines": {
126
+ "node": ">=18.14.1",
127
+ "pnpm": ">=9.15.3"
128
+ }
125
129
  }
@@ -22,7 +22,7 @@ const props = defineProps({
22
22
  required: false,
23
23
  },
24
24
  breadcrumbs: {
25
- type: Object as PropType<Breadcrumb[]>,
25
+ type: Array as PropType<Breadcrumb[]>,
26
26
  required: true
27
27
  },
28
28
  productNumber: {
@@ -9,7 +9,7 @@ const props = defineProps({
9
9
  required: true,
10
10
  },
11
11
  caption: {
12
- type: Object as PropType<String | null>,
12
+ type: String as PropType<String | null>,
13
13
  default: null,
14
14
  required: false,
15
15
  }
@@ -3,7 +3,7 @@ import type { PropType } from 'vue'
3
3
 
4
4
  const props = defineProps({
5
5
  colors: {
6
- type: Object as PropType<{id: number, slug: string, name: string}[]>,
6
+ type: Array as PropType<{id: number, slug: string, name: string}[]>,
7
7
  default: null,
8
8
  required: true,
9
9
  },
@@ -1,8 +1,10 @@
1
1
  <script lang="ts" setup>
2
+ import type { PropType } from 'vue'
3
+
2
4
  const props = defineProps({
3
5
  modelIds: {
4
- type: Array,
5
- default: null,
6
+ type: Array as PropType<(string | number)[]>,
7
+ default: () => [],
6
8
  required: true,
7
9
  },
8
10
  })
@@ -4,7 +4,7 @@ import type { Position } from 'types/index'
4
4
  import type { PropType } from 'vue';
5
5
  const props = defineProps({
6
6
  positions: {
7
- type: Object as PropType<Position[]>,
7
+ type: Array as PropType<Position[]>,
8
8
  default: null,
9
9
  required: true,
10
10
  },
@@ -4,7 +4,7 @@ import PrCode from './PrCode.vue';
4
4
 
5
5
  const props = defineProps({
6
6
  prcodes: {
7
- type: Object as PropType<string[] | null>,
7
+ type: Array as PropType<string[] | null>,
8
8
  default: null,
9
9
  required: true,
10
10
  },
@@ -39,7 +39,7 @@ export const jumbotronShortcuts = [
39
39
  ['jumbotron-split-wrapper', 'w-full'],
40
40
  ['jumbotron-split-container', 'xl:container mx-auto px-3.5 md:px-0'],
41
41
  ['jumbotron-split-header', 'w-full justify-center text-white z-2 mt-auto md:(grid grid-cols-2) pb-4 mb-8'],
42
- ['jumbotron-split-content', 'pl-4 pr-8 py-5 xl:(py-0 pl-0) flex flex-wrap'],
42
+ ['jumbotron-split-content', 'pl-4 pr-8 py-5 xl:(py-0 pl-0) flex flex-wrap ml-auto'],
43
43
  ['jumbotron-split-title', 'font-headlight text-3xl md:(text-4xl mb-3) xl:text-11 mt-1 order-2 line-clamp-3 pb-1 w-full'],
44
44
  ['jumbotron-split-meta', 'order-3 flex items-center text-gray-100'],
45
45
  ['jumbotron-split-image-wrapper', 'relative -mb-8 md:(mt-4 -ml-4 mr-4) xl:(ml-0 mr-0)'],