spoko-design-system 0.2.25 → 0.2.26
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spoko-design-system",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "astro dev",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@iconify-json/ph": "^1.1.11",
|
|
52
52
|
"@iconify-json/simple-icons": "^1.1.96",
|
|
53
53
|
"@iconify-json/uil": "^1.1.8",
|
|
54
|
-
"@iconify/json": "^2.2.
|
|
54
|
+
"@iconify/json": "^2.2.195",
|
|
55
55
|
"@iconify/vue": "^4.1.1",
|
|
56
56
|
"@types/node": "^20.11.30",
|
|
57
57
|
"@unocss/astro": "^0.58.6",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"@unocss/preset-web-fonts": "^0.58.6",
|
|
62
62
|
"@unocss/preset-wind": "^0.58.6",
|
|
63
63
|
"@unocss/reset": "^0.58.6",
|
|
64
|
-
"@vite-pwa/astro": "^0.3.
|
|
64
|
+
"@vite-pwa/astro": "^0.3.1",
|
|
65
65
|
"@vueuse/core": "^10.9.0",
|
|
66
|
-
"astro-compress": "^2.2.
|
|
66
|
+
"astro-compress": "^2.2.17",
|
|
67
67
|
"astro-i18next": "1.0.0-beta.21",
|
|
68
68
|
"astro-icon": "^1.1.0",
|
|
69
69
|
"astro-meta-tags": "^0.2.2",
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
"sass": "^1.72.0",
|
|
78
78
|
"swiper": "^11.0.7",
|
|
79
79
|
"unocss": "^0.58.6",
|
|
80
|
-
"vite": "^5.2.
|
|
80
|
+
"vite": "^5.2.4",
|
|
81
81
|
"vue": "^3.4.21"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@unocss/transformer-variant-group": "^0.58.6",
|
|
85
|
-
"astro": "^4.5.
|
|
85
|
+
"astro": "^4.5.9",
|
|
86
86
|
"unocss": "^0.58.3"
|
|
87
87
|
},
|
|
88
88
|
"packageManager": "pnpm@8.15.5",
|
|
@@ -42,7 +42,7 @@ const isLast = (index: Number) => {
|
|
|
42
42
|
<ul class="breadcrumbs flex items-center p-0 leading-none ">
|
|
43
43
|
<li v-if="props.showBack" class="breadcrumb-item flex">
|
|
44
44
|
<button
|
|
45
|
-
class="breadcrumb-link flex items-center px-0 py-
|
|
45
|
+
class="breadcrumb-link flex items-center px-0 py-4.25 sm:py-1 hover:text-lightBlue-500 whitespace-nowrap my-auto"
|
|
46
46
|
:title="props.textBack" onclick="history.back()">
|
|
47
47
|
<span class="block px-3" i-bx-bx-arrow-back />
|
|
48
48
|
</button>
|
|
@@ -52,19 +52,19 @@ const isLast = (index: Number) => {
|
|
|
52
52
|
itemtype="https://schema.org/BreadcrumbList">
|
|
53
53
|
<li v-if="props.showHome" class="breadcrumb-item flex">
|
|
54
54
|
<a href="/"
|
|
55
|
-
class="breadcrumb-link flex items-center px-0 py-
|
|
55
|
+
class="breadcrumb-link flex items-center px-0 py-4.25 sm:py-1 hover:text-lightBlue-400 whitespace-nowrap translate-y-0 text-sm my-auto px-3"
|
|
56
56
|
:title="textBack" itemprop="item" i-carbon-home>
|
|
57
57
|
</a>
|
|
58
58
|
<meta itemprop="position" content="1">
|
|
59
59
|
</li>
|
|
60
60
|
<li v-for="(crumb, index) in breadcrumbs" :key="index" class="breadcrumb-item flex" itemprop="itemListElement"
|
|
61
61
|
itemscope itemtype="https://schema.org/ListItem">
|
|
62
|
-
<a v-if="!isLast(index)" :href="crumb.path" class="breadcrumb-link whitespace-nowrap py-
|
|
62
|
+
<a v-if="!isLast(index)" :href="crumb.path" class="breadcrumb-link whitespace-nowrap py-4.25 sm:py-1 px-1"
|
|
63
63
|
itemprop="item" :title="`Polo 6R ${crumb.name}`">
|
|
64
64
|
<strong class="font-normal" itemprop="name">{{ crumb.name }}</strong>
|
|
65
65
|
</a>
|
|
66
66
|
<a v-else :href="crumb.path"
|
|
67
|
-
class="breadcrumb-link breadcrumb-link--disabled whitespace-nowrap pointer-events-none py-
|
|
67
|
+
class="breadcrumb-link breadcrumb-link--disabled whitespace-nowrap pointer-events-none py-4.25 sm:py-1 px-1"
|
|
68
68
|
:title="`Polo 6R ${crumb.name} ${productNumber}`">
|
|
69
69
|
<strong class="font-normal" itemprop="name" v-html="crumb.name" /> <b>{{ productNumber }}</b>
|
|
70
70
|
</a>
|
|
@@ -83,7 +83,7 @@ const isLast = (index: Number) => {
|
|
|
83
83
|
.breadcrumb-item {
|
|
84
84
|
|
|
85
85
|
&+.breadcrumb-item:before {
|
|
86
|
-
@apply py-
|
|
86
|
+
@apply py-4.25 sm:py-1 px-1;
|
|
87
87
|
display: inline-block;
|
|
88
88
|
padding-right: .5rem;
|
|
89
89
|
color: #bdbdbd;
|
package/uno.config.ts
CHANGED
|
@@ -28,6 +28,8 @@ export default defineConfig({
|
|
|
28
28
|
transformerVariantGroup(),
|
|
29
29
|
],
|
|
30
30
|
shortcuts: [
|
|
31
|
+
['close-light','@apply before:bg-white after:bg-white'],
|
|
32
|
+
['close-dark','@apply before:bg-black after:bg-black'],
|
|
31
33
|
['headline-light', 'font-headlight font-300 tracking-tight'],
|
|
32
34
|
['detail-name', 'text-gray-900 leading-tight font-textlight line-clamp-3 whitespace-normal md:(whitespace-pre-wrap line-clamp-9 font-textregular)'],
|
|
33
35
|
['product-number','font-novamono content-center flex flex-wrap flex-col content-start pr-5 bg-white'],
|