spoko-design-system 0.2.23 → 0.2.25
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,96 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "spoko-design-system",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"private": false,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "astro dev",
|
|
7
|
-
"start": "astro dev",
|
|
8
|
-
"build": "astro build",
|
|
9
|
-
"preview": "astro preview"
|
|
10
|
-
},
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "https://github.com/polo-blue/sds"
|
|
14
|
-
},
|
|
15
|
-
"author": {
|
|
16
|
-
"name": "spokospace",
|
|
17
|
-
"email": "szymon@spoko.space",
|
|
18
|
-
"url": "https://spoko.space"
|
|
19
|
-
},
|
|
20
|
-
"homepage": "https://sds.spoko.space/",
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"keywords": [
|
|
23
|
-
"astro-starter",
|
|
24
|
-
"seo",
|
|
25
|
-
"astro",
|
|
26
|
-
"sds design system",
|
|
27
|
-
"spoko design system"
|
|
28
|
-
],
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"@algolia/client-search": "^4.22.1",
|
|
31
|
-
"@astrojs/mdx": "^2.2.
|
|
32
|
-
"@astrojs/node": "^8.2.
|
|
33
|
-
"@astrojs/sitemap": "^3.1.1",
|
|
34
|
-
"@astrojs/vue": "^4.0.9",
|
|
35
|
-
"@docsearch/css": "^3.6.0",
|
|
36
|
-
"@iconify-json/ant-design": "^1.1.15",
|
|
37
|
-
"@iconify-json/bi": "^1.1.23",
|
|
38
|
-
"@iconify-json/bx": "^1.1.10",
|
|
39
|
-
"@iconify-json/carbon": "^1.1.31",
|
|
40
|
-
"@iconify-json/circle-flags": "^1.1.46",
|
|
41
|
-
"@iconify-json/el": "^1.1.8",
|
|
42
|
-
"@iconify-json/eos-icons": "^1.1.10",
|
|
43
|
-
"@iconify-json/flowbite": "^1.1.3",
|
|
44
|
-
"@iconify-json/fluent": "^1.1.50",
|
|
45
|
-
"@iconify-json/fluent-emoji": "1.1.18",
|
|
46
|
-
"@iconify-json/icon-park-outline": "^1.1.15",
|
|
47
|
-
"@iconify-json/la": "^1.1.8",
|
|
48
|
-
"@iconify-json/mdi": "^1.1.64",
|
|
49
|
-
"@iconify-json/noto-v1": "^1.1.11",
|
|
50
|
-
"@iconify-json/octicon": "^1.1.52",
|
|
51
|
-
"@iconify-json/ph": "^1.1.11",
|
|
52
|
-
"@iconify-json/simple-icons": "^1.1.96",
|
|
53
|
-
"@iconify-json/uil": "^1.1.8",
|
|
54
|
-
"@iconify/json": "^2.2.
|
|
55
|
-
"@iconify/vue": "^4.1.1",
|
|
56
|
-
"@types/node": "^20.11.30",
|
|
57
|
-
"@unocss/astro": "^0.58.6",
|
|
58
|
-
"@unocss/preset-attributify": "^0.58.6",
|
|
59
|
-
"@unocss/preset-typography": "^0.58.6",
|
|
60
|
-
"@unocss/preset-uno": "^0.58.6",
|
|
61
|
-
"@unocss/preset-web-fonts": "^0.58.6",
|
|
62
|
-
"@unocss/preset-wind": "^0.58.6",
|
|
63
|
-
"@unocss/reset": "^0.58.6",
|
|
64
|
-
"@vite-pwa/astro": "^0.3.0",
|
|
65
|
-
"@vueuse/core": "^10.9.0",
|
|
66
|
-
"astro-compress": "^2.2.15",
|
|
67
|
-
"astro-i18next": "1.0.0-beta.21",
|
|
68
|
-
"astro-icon": "^1.1.0",
|
|
69
|
-
"astro-meta-tags": "^0.2.2",
|
|
70
|
-
"astro-navbar": "^2.3.1",
|
|
71
|
-
"astro-pagefind": "^1.5.0",
|
|
72
|
-
"i18next": "^23.10.1",
|
|
73
|
-
"i18next-browser-languagedetector": "^7.2.0",
|
|
74
|
-
"i18next-fs-backend": "^2.3.1",
|
|
75
|
-
"i18next-http-backend": "^2.5.0",
|
|
76
|
-
"i18next-vue": "^4.0.0",
|
|
77
|
-
"sass": "^1.72.0",
|
|
78
|
-
"swiper": "^11.0.7",
|
|
79
|
-
"unocss": "^0.58.6",
|
|
80
|
-
"vite": "^5.
|
|
81
|
-
"vue": "^3.4.21"
|
|
82
|
-
},
|
|
83
|
-
"devDependencies": {
|
|
84
|
-
"@unocss/transformer-variant-group": "^0.58.6",
|
|
85
|
-
"astro": "^4.5.
|
|
86
|
-
"unocss": "^0.58.3"
|
|
87
|
-
},
|
|
88
|
-
"packageManager": "pnpm@8.15.5",
|
|
89
|
-
"pnpm": {
|
|
90
|
-
"default": "8.15.2",
|
|
91
|
-
"overrides": {
|
|
92
|
-
"file-type@>=17.0.0 <17.1.3": ">=17.1.3",
|
|
93
|
-
"sharp@<0.30.5": ">=0.30.5"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "spoko-design-system",
|
|
3
|
+
"version": "0.2.25",
|
|
4
|
+
"private": false,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "astro dev",
|
|
7
|
+
"start": "astro dev",
|
|
8
|
+
"build": "astro build",
|
|
9
|
+
"preview": "astro preview"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/polo-blue/sds"
|
|
14
|
+
},
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "spokospace",
|
|
17
|
+
"email": "szymon@spoko.space",
|
|
18
|
+
"url": "https://spoko.space"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://sds.spoko.space/",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"keywords": [
|
|
23
|
+
"astro-starter",
|
|
24
|
+
"seo",
|
|
25
|
+
"astro",
|
|
26
|
+
"sds design system",
|
|
27
|
+
"spoko design system"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@algolia/client-search": "^4.22.1",
|
|
31
|
+
"@astrojs/mdx": "^2.2.1",
|
|
32
|
+
"@astrojs/node": "^8.2.5",
|
|
33
|
+
"@astrojs/sitemap": "^3.1.1",
|
|
34
|
+
"@astrojs/vue": "^4.0.9",
|
|
35
|
+
"@docsearch/css": "^3.6.0",
|
|
36
|
+
"@iconify-json/ant-design": "^1.1.15",
|
|
37
|
+
"@iconify-json/bi": "^1.1.23",
|
|
38
|
+
"@iconify-json/bx": "^1.1.10",
|
|
39
|
+
"@iconify-json/carbon": "^1.1.31",
|
|
40
|
+
"@iconify-json/circle-flags": "^1.1.46",
|
|
41
|
+
"@iconify-json/el": "^1.1.8",
|
|
42
|
+
"@iconify-json/eos-icons": "^1.1.10",
|
|
43
|
+
"@iconify-json/flowbite": "^1.1.3",
|
|
44
|
+
"@iconify-json/fluent": "^1.1.50",
|
|
45
|
+
"@iconify-json/fluent-emoji": "1.1.18",
|
|
46
|
+
"@iconify-json/icon-park-outline": "^1.1.15",
|
|
47
|
+
"@iconify-json/la": "^1.1.8",
|
|
48
|
+
"@iconify-json/mdi": "^1.1.64",
|
|
49
|
+
"@iconify-json/noto-v1": "^1.1.11",
|
|
50
|
+
"@iconify-json/octicon": "^1.1.52",
|
|
51
|
+
"@iconify-json/ph": "^1.1.11",
|
|
52
|
+
"@iconify-json/simple-icons": "^1.1.96",
|
|
53
|
+
"@iconify-json/uil": "^1.1.8",
|
|
54
|
+
"@iconify/json": "^2.2.194",
|
|
55
|
+
"@iconify/vue": "^4.1.1",
|
|
56
|
+
"@types/node": "^20.11.30",
|
|
57
|
+
"@unocss/astro": "^0.58.6",
|
|
58
|
+
"@unocss/preset-attributify": "^0.58.6",
|
|
59
|
+
"@unocss/preset-typography": "^0.58.6",
|
|
60
|
+
"@unocss/preset-uno": "^0.58.6",
|
|
61
|
+
"@unocss/preset-web-fonts": "^0.58.6",
|
|
62
|
+
"@unocss/preset-wind": "^0.58.6",
|
|
63
|
+
"@unocss/reset": "^0.58.6",
|
|
64
|
+
"@vite-pwa/astro": "^0.3.0",
|
|
65
|
+
"@vueuse/core": "^10.9.0",
|
|
66
|
+
"astro-compress": "^2.2.15",
|
|
67
|
+
"astro-i18next": "1.0.0-beta.21",
|
|
68
|
+
"astro-icon": "^1.1.0",
|
|
69
|
+
"astro-meta-tags": "^0.2.2",
|
|
70
|
+
"astro-navbar": "^2.3.1",
|
|
71
|
+
"astro-pagefind": "^1.5.0",
|
|
72
|
+
"i18next": "^23.10.1",
|
|
73
|
+
"i18next-browser-languagedetector": "^7.2.0",
|
|
74
|
+
"i18next-fs-backend": "^2.3.1",
|
|
75
|
+
"i18next-http-backend": "^2.5.0",
|
|
76
|
+
"i18next-vue": "^4.0.0",
|
|
77
|
+
"sass": "^1.72.0",
|
|
78
|
+
"swiper": "^11.0.7",
|
|
79
|
+
"unocss": "^0.58.6",
|
|
80
|
+
"vite": "^5.2.2",
|
|
81
|
+
"vue": "^3.4.21"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@unocss/transformer-variant-group": "^0.58.6",
|
|
85
|
+
"astro": "^4.5.8",
|
|
86
|
+
"unocss": "^0.58.3"
|
|
87
|
+
},
|
|
88
|
+
"packageManager": "pnpm@8.15.5",
|
|
89
|
+
"pnpm": {
|
|
90
|
+
"default": "8.15.2",
|
|
91
|
+
"overrides": {
|
|
92
|
+
"file-type@>=17.0.0 <17.1.3": ">=17.1.3",
|
|
93
|
+
"sharp@<0.30.5": ">=0.30.5"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
96
|
}
|
|
@@ -16,18 +16,18 @@ const toggleVisibility = () => {
|
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
18
|
<div v-if="isShow" data-pagefind-ignore
|
|
19
|
-
class="slimbanner bg-lightBlue-
|
|
19
|
+
class="slimbanner bg-lightBlue-400/70 drop-shadow-md z-2 px-4 py-3 flex items-center justify-center text-xs sm:(text-base px-8) leading-none text-blue-700 relative print-hidden">
|
|
20
20
|
<span
|
|
21
21
|
class="inline-block text-4xl w-6 h-3.5 min-w-[1.25rem] mr-3 bg-gradient-to-b stops-[#0057b7_50%,50%,#ffd700_100%]" />
|
|
22
22
|
<span class="leading-none "><span
|
|
23
23
|
data-text="We stand with our friends and colleagues in Ukraine. To support Ukraine in their time of need visit " />
|
|
24
|
-
<a href="https://polo.blue/support-ukraine/" target="_blank" rel="noopener"
|
|
24
|
+
<a href="https://polo.blue/support-ukraine/" target="_blank" rel="noopener" title="Support Ukraine"
|
|
25
25
|
class="underline underline-offset-2 hover:text-blue-wrc">this page</a>.
|
|
26
26
|
</span>
|
|
27
27
|
|
|
28
|
-
<button class="
|
|
28
|
+
<button class="btn-close text-white" v-if="props.showCloseButton" @click="toggleVisibility()"
|
|
29
29
|
aria-label="Toggle">
|
|
30
|
-
<span class="close"></span>
|
|
30
|
+
<span class="close close-dark"></span>
|
|
31
31
|
</button>
|
|
32
32
|
</div>
|
|
33
33
|
<div v-else data-pagefind-ignore
|
|
@@ -36,19 +36,23 @@ const toggleVisibility = () => {
|
|
|
36
36
|
<span data-text="RUSSIA IS A" /> <span class="underline decoration-red-600 decoration-1 underline-offset-3"
|
|
37
37
|
data-text="TERRORIST" /> <span data-text="STATE" />
|
|
38
38
|
</div>
|
|
39
|
-
<button class="
|
|
39
|
+
<button class="btn-close" v-if="props.showCloseButton" @click="toggleVisibility()"
|
|
40
40
|
aria-label="Toggle">
|
|
41
|
-
<span class="close"></span>
|
|
41
|
+
<span class="close close-light"></span>
|
|
42
42
|
</button>
|
|
43
43
|
</div>
|
|
44
44
|
</template>
|
|
45
45
|
|
|
46
|
-
<style
|
|
46
|
+
<style>
|
|
47
|
+
.btn-close {
|
|
48
|
+
@apply ml-3 relative w-5 h-5;
|
|
49
|
+
}
|
|
50
|
+
|
|
47
51
|
.close {
|
|
48
|
-
@apply absolute top-0 left-0 opacity-50;
|
|
52
|
+
@apply absolute top-0 left-0 opacity-50 transition-opacity duration-200;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
.close:hover {
|
|
55
|
+
.btn-close:hover .close {
|
|
52
56
|
@apply opacity-100;
|
|
53
57
|
}
|
|
54
58
|
|
|
@@ -59,7 +63,14 @@ const toggleVisibility = () => {
|
|
|
59
63
|
content: ' ';
|
|
60
64
|
height: 1.25rem;
|
|
61
65
|
width: 2px;
|
|
62
|
-
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.close-light {
|
|
69
|
+
@apply before:bg-white after:bg-white;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.close-dark {
|
|
73
|
+
@apply before:bg-black after:bg-black;
|
|
63
74
|
}
|
|
64
75
|
|
|
65
76
|
.close:before {
|
|
@@ -26,7 +26,7 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString();
|
|
|
26
26
|
<html dir={content.dir ?? "ltr"} lang={content.lang ?? "en-us"} class="initial">
|
|
27
27
|
<head>
|
|
28
28
|
<HeadCommon />
|
|
29
|
-
<HeadSEO {content} canonicalURL={canonicalURL} />
|
|
29
|
+
<HeadSEO content={content} canonicalURL={canonicalURL} />
|
|
30
30
|
<title>
|
|
31
31
|
{
|
|
32
32
|
content.title
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Badges"
|
|
3
3
|
layout: "../../layouts/MainLayout.astro"
|
|
4
|
+
|
|
4
5
|
---
|
|
5
6
|
import Badges from '../../components/Badges.vue'
|
|
6
7
|
|
|
@@ -13,6 +14,7 @@ Extra product badges (labels).
|
|
|
13
14
|
<Badges badges={['GTI', 'Motorsport', 'Lorem Ipsum']} class="top-2" />
|
|
14
15
|
</div>
|
|
15
16
|
</div>
|
|
17
|
+
|
|
16
18
|
```js
|
|
17
19
|
<div class="relative min-h-10">
|
|
18
20
|
<Badges badges={['GTI', 'Motorsport', 'Lorem Ipsum']} class="top-2" />
|