spoko-design-system 0.9.1 → 0.9.2
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/.astro/data-store.json +1 -1
- package/.astro/settings.json +1 -1
- package/.astro/types.d.ts +0 -1
- package/.claude/settings.local.json +12 -0
- package/README.md +2 -0
- package/package.json +2 -2
- package/public/locales/en/translation.json +5 -1
- package/public/locales/pl/translation.json +6 -2
- package/src/pages/index.astro +11 -11
- package/uno-config/index.ts +7 -0
package/.astro/data-store.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.
|
|
1
|
+
[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.13.2","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"site\":\"https://sds.spoko.space/\",\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":1234,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[\"placehold.co\",\"api.polo.blue\",\"polo.blue\",\"media.istockphoto.com\",\"freepik.com\",\"img.freepik.com\",\"polo6r.pl\"],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false,\"staticImportMetaEnv\":false,\"chromeDevtoolsWorkspace\":false},\"legacy\":{\"collections\":false}}"]
|
package/.astro/settings.json
CHANGED
package/.astro/types.d.ts
CHANGED
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Spoko Design System
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
SDS is the easiest way to start websites with simple design system. Since Astro is compatible with many frameworks, you can import your components and document them right in the markdown files.
|
|
4
6
|
The project is still in the development phase, use at your own risk ;-)
|
|
5
7
|
#
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spoko-design-system",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./index.ts",
|
|
6
6
|
"module": "./index.ts",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"unocss": "^0.65.0",
|
|
111
111
|
"vite": "^7.1.3"
|
|
112
112
|
},
|
|
113
|
-
"packageManager": "pnpm@
|
|
113
|
+
"packageManager": "pnpm@10.16.1",
|
|
114
114
|
"pnpm": {
|
|
115
115
|
"default": "9.15.3",
|
|
116
116
|
"overrides": {
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
"part": {
|
|
3
3
|
"for-lhd": "Do pojazdów LHD (z kierownicą z lewej strony)",
|
|
4
4
|
"for-rhd": "Do pojazdów RHD (z kierownicą z prawej strony)",
|
|
5
|
-
"sw-position":"Pozycja kierownicy"
|
|
5
|
+
"sw-position":"Pozycja kierownicy"
|
|
6
6
|
},
|
|
7
7
|
"copied": "Skopiowano",
|
|
8
|
-
"copy": "Skopiuj numer produktu"
|
|
8
|
+
"copy": "Skopiuj numer produktu",
|
|
9
|
+
"date": {
|
|
10
|
+
"published": "Opublikowano",
|
|
11
|
+
"updated": "Zaktualizowano"
|
|
12
|
+
}
|
|
9
13
|
}
|
package/src/pages/index.astro
CHANGED
|
@@ -103,21 +103,21 @@ const navItems = [
|
|
|
103
103
|
|
|
104
104
|
<div>
|
|
105
105
|
<Headline underline as="div" class="mx-auto text-gray-900" textSize="3xl">Examples:</Headline>
|
|
106
|
-
<ul class="
|
|
107
|
-
<li class="leading-5 me-6 mb-4 lg:mb-0">
|
|
108
|
-
<a href="https://catalog.polo.blue" class="example-link" target="_blank"> catalog.polo.blue</a>
|
|
106
|
+
<ul class="flex flex-wrap text-2xl pt-6 lg:(py-4 gap-4) text-left justify-center lg:justify-start w-full">
|
|
107
|
+
<li class="leading-5 me-6 mb-4 lg:mb-0 flex-shrink-0">
|
|
108
|
+
<a href="https://catalog.polo.blue" class="example-link whitespace-nowrap" target="_blank"> catalog.polo.blue</a>
|
|
109
109
|
</li>
|
|
110
|
-
<li class="leading-5 me-6 mb-4 lg:mb-0">
|
|
111
|
-
<a href="https://polo.blue" class="example-link" target="_blank"> polo.blue</a>
|
|
110
|
+
<li class="leading-5 me-6 mb-4 lg:mb-0 flex-shrink-0">
|
|
111
|
+
<a href="https://polo.blue" class="example-link whitespace-nowrap" target="_blank"> polo.blue</a>
|
|
112
112
|
</li>
|
|
113
|
-
<li class="leading-5 me-6 mb-4 lg:mb-0">
|
|
114
|
-
<a href="https://spoko.space" class="example-link" target="_blank"> spoko.space</a>
|
|
113
|
+
<li class="leading-5 me-6 mb-4 lg:mb-0 flex-shrink-0">
|
|
114
|
+
<a href="https://spoko.space" class="example-link whitespace-nowrap" target="_blank"> spoko.space</a>
|
|
115
115
|
</li>
|
|
116
|
-
<li class="leading-5 me-6 mb-4 lg:mb-0">
|
|
117
|
-
<a href="https://sale.polo.blue/" class="example-link" target="_blank">sale.polo.blue</a>
|
|
116
|
+
<li class="leading-5 me-6 mb-4 lg:mb-0 flex-shrink-0">
|
|
117
|
+
<a href="https://sale.polo.blue/" class="example-link whitespace-nowrap" target="_blank">sale.polo.blue</a>
|
|
118
118
|
</li>
|
|
119
|
-
<li class="leading-5 me-6 mb-4 lg:mb-0">
|
|
120
|
-
<a href="https://polo6r.pl" class="example-link" target="_blank">polo6r.pl</a>
|
|
119
|
+
<li class="leading-5 me-6 mb-4 lg:mb-0 flex-shrink-0">
|
|
120
|
+
<a href="https://polo6r.pl" class="example-link whitespace-nowrap" target="_blank">polo6r.pl</a>
|
|
121
121
|
</li>
|
|
122
122
|
</ul>
|
|
123
123
|
</div>
|
package/uno-config/index.ts
CHANGED
|
@@ -245,6 +245,13 @@ export function createSdsConfig(customConfig: CustomConfig = {}) {
|
|
|
245
245
|
'display': 'inline-block',
|
|
246
246
|
'vertical-align': 'middle',
|
|
247
247
|
},
|
|
248
|
+
collections: {
|
|
249
|
+
// Only load specific icon collections to prevent auto-detection issues
|
|
250
|
+
'lucide': () => import('@iconify-json/lucide/icons.json').then(i => i.default),
|
|
251
|
+
'simple-icons': () => import('@iconify-json/simple-icons/icons.json').then(i => i.default),
|
|
252
|
+
'mdi': () => import('@iconify-json/mdi/icons.json').then(i => i.default),
|
|
253
|
+
'carbon': () => import('@iconify-json/carbon/icons.json').then(i => i.default),
|
|
254
|
+
}
|
|
248
255
|
}),
|
|
249
256
|
presetTypography(),
|
|
250
257
|
presetWebFonts({
|