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.
@@ -1 +1 @@
1
- [["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.11.0","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},\"legacy\":{\"collections\":false}}"]
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}}"]
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "_variables": {
3
- "lastUpdateCheck": 1751564292126
3
+ "lastUpdateCheck": 1757938917015
4
4
  }
5
5
  }
package/.astro/types.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  /// <reference types="astro/client" />
2
- /// <reference path="content.d.ts" />
@@ -0,0 +1,12 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git remote get-url:*)",
5
+ "Bash(npm run dev:*)",
6
+ "Bash(tasklist)",
7
+ "Bash(findstr:*)"
8
+ ],
9
+ "deny": [],
10
+ "ask": []
11
+ }
12
+ }
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Spoko Design System
2
2
 
3
+ ![Version](https://img.shields.io/github/package-json/v/polo-blue/sds)
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.1",
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@9.15.3",
113
+ "packageManager": "pnpm@10.16.1",
114
114
  "pnpm": {
115
115
  "default": "9.15.3",
116
116
  "overrides": {
@@ -5,5 +5,9 @@
5
5
  "sw-position":"Steering wheel position"
6
6
  },
7
7
  "copied": "Copied",
8
- "copy": "Copy product code"
8
+ "copy": "Copy product code",
9
+ "date": {
10
+ "published": "Published",
11
+ "updated": "Updated"
12
+ }
9
13
  }
@@ -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
  }
@@ -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="grid text-2xl pt-6 lg:(auto-cols-max grid-flow-col py-6) text-left">
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>
@@ -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({