@jungherz-de/glasskit 1.3.3 → 1.3.5
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/CHANGELOG.md +31 -1
- package/README.md +41 -2
- package/SKILL.md +1251 -0
- package/glasskit-styles.js +1 -1
- package/glasskit.css +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,34 @@ GlassKit uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [1.3.5] – 2026-04-04
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`SKILL.md` – AI-optimized component reference** – a structured, machine-readable reference document designed for LLMs, AI copilots, and code-generation tools
|
|
15
|
+
- Copy-paste-ready HTML for all 22 components with exact nesting and BEM hierarchy
|
|
16
|
+
- Complete design token tables (colors, surfaces, borders, blur, radii, spacing, shadows, typography)
|
|
17
|
+
- State class reference – clear mapping of `is-active`, `is-open`, `is-visible`, `:checked`, `:focus`, `:disabled` to their components
|
|
18
|
+
- 6 composition patterns – full page layouts: Login, Dashboard, Form, Modal confirmation, Settings, Progress + Toast
|
|
19
|
+
- Common mistakes & corrections table – prevents frequent AI-generated errors
|
|
20
|
+
- Quick reference table – all components with modifiers at a glance
|
|
21
|
+
- Utility class reference with exact gap/margin values
|
|
22
|
+
- Web Components / Shadow DOM usage guide
|
|
23
|
+
- Custom theming instructions
|
|
24
|
+
- **Visual preview for Tab-Bar** in `docs.html` and `de/docs.html` – live rendered tab bar with 4 tabs (Home, Documents with badge, Upload, Settings)
|
|
25
|
+
- **Visual preview for Toast** in `docs.html` and `de/docs.html` – static success toast rendered inline
|
|
26
|
+
- **HTML code example for Status Notice** in `docs.html` and `de/docs.html` – was previously preview-only without code snippet
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- **README.md** – new “AI / LLM Reference” section documenting `SKILL.md` purpose and usage, “AI-ready” added to “Why GlassKit?”
|
|
31
|
+
- **Project structure** in README updated to include `SKILL.md`
|
|
32
|
+
- **docs.html & de/docs.html** – new “AI Reference” / “KI-Referenz” section with sidebar link
|
|
33
|
+
- **index.html & de/index.html** – SKILL.md added to project file list
|
|
34
|
+
- Version references updated to 1.3.5 across all files
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
10
38
|
## [1.3.3] – 2026-03-21
|
|
11
39
|
|
|
12
40
|
### Added
|
|
@@ -193,8 +221,10 @@ during development. Version 1.3 is the first public open-source release.
|
|
|
193
221
|
|
|
194
222
|
---
|
|
195
223
|
|
|
224
|
+
[1.3.5]: https://github.com/JUNGHERZ/GlassKit/releases/tag/v1.3.5
|
|
225
|
+
[1.3.4]: https://github.com/JUNGHERZ/GlassKit/releases/tag/v1.3.4
|
|
196
226
|
[1.3.3]: https://github.com/JUNGHERZ/GlassKit/releases/tag/v1.3.3
|
|
197
227
|
[1.3.2]: https://github.com/JUNGHERZ/GlassKit/releases/tag/v1.3.2
|
|
198
228
|
[1.3.1]: https://github.com/JUNGHERZ/GlassKit/releases/tag/v1.3.1
|
|
199
229
|
[1.3.0]: https://github.com/JUNGHERZ/GlassKit/releases/tag/v1.3.0
|
|
200
|
-
[Unreleased]: https://github.com/JUNGHERZ/GlassKit/compare/v1.3.
|
|
230
|
+
[Unreleased]: https://github.com/JUNGHERZ/GlassKit/compare/v1.3.5...HEAD
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://img.shields.io/badge/version-1.3.
|
|
2
|
+
<img src="https://img.shields.io/badge/version-1.3.5-orange?style=flat-square" alt="Version">
|
|
3
3
|
<img src="https://img.shields.io/badge/CSS-only-blue?style=flat-square" alt="CSS only">
|
|
4
4
|
<img src="https://img.shields.io/badge/components-22-green?style=flat-square" alt="Components">
|
|
5
5
|
<img src="https://img.shields.io/badge/license-MIT-lightgrey?style=flat-square" alt="License">
|
|
6
|
-
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/changelog-v1.3.
|
|
6
|
+
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/changelog-v1.3.5-f5a623?style=flat-square" alt="Changelog"></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/@jungherz-de/glasskit"><img src="https://img.shields.io/npm/v/@jungherz-de/glasskit?style=flat-square&color=cb3837&label=npm" alt="npm"></a>
|
|
8
8
|
<a href="https://cdn.jsdelivr.net/npm/@jungherz-de/glasskit/"><img src="https://img.shields.io/badge/CDN-jsDelivr-blue?style=flat-square" alt="jsDelivr"></a>
|
|
9
9
|
</p>
|
|
@@ -50,6 +50,7 @@ GlassKit is a complete **CSS component library** with glassmorphism aesthetics
|
|
|
50
50
|
- 🧩 **Shadow DOM ready** – Constructable Stylesheet for Web Components included
|
|
51
51
|
- 🪶 **Lightweight** – ~45 KB (uncompressed), no external dependencies
|
|
52
52
|
- 🎯 **BEM-like naming convention** – `glass-*` prefix, no conflicts with existing CSS
|
|
53
|
+
- 🤖 **AI-ready** – ships with [`SKILL.md`](SKILL.md), a structured reference for LLMs & AI copilots
|
|
53
54
|
|
|
54
55
|
---
|
|
55
56
|
|
|
@@ -428,6 +429,7 @@ glasskit/
|
|
|
428
429
|
├── showcase.html # Interactive showcase of all components
|
|
429
430
|
├── docs.html # Full documentation
|
|
430
431
|
├── de/ # German translations (index, docs, showcase)
|
|
432
|
+
├── SKILL.md # AI-optimized component reference (for LLMs & copilots)
|
|
431
433
|
├── LICENSE # MIT License
|
|
432
434
|
└── README.md # This file
|
|
433
435
|
```
|
|
@@ -444,6 +446,43 @@ The full documentation with **live previews**, **copy-paste code blocks**, and *
|
|
|
444
446
|
- Theming guide
|
|
445
447
|
- Complete class overview at the end
|
|
446
448
|
|
|
449
|
+
Live pages:
|
|
450
|
+
- 🌐 Home: https://glasskit.jungherz.com/
|
|
451
|
+
- 📖 Docs: https://glasskit.jungherz.com/docs.html
|
|
452
|
+
- 🧪 Showcase: https://glasskit.jungherz.com/showcase.html
|
|
453
|
+
|
|
454
|
+
## 🧩 Companion Project: GlassKit Elements
|
|
455
|
+
|
|
456
|
+
If you want to use GlassKit through **drop-in Web Components** instead of writing the full HTML structure yourself, take a look at **GlassKit Elements**.
|
|
457
|
+
|
|
458
|
+
GlassKit Elements builds on top of GlassKit CSS and provides a set of vanilla JavaScript custom elements like `glk-button`, `glk-card`, or `glk-input`.
|
|
459
|
+
|
|
460
|
+
Useful links:
|
|
461
|
+
- GitHub: https://github.com/JUNGHERZ/GlassKit-Elements
|
|
462
|
+
- Live Demo: https://glasskit-elements.jungherz.com/
|
|
463
|
+
- Docs: https://glasskit-elements.jungherz.com/docs.html
|
|
464
|
+
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
## 🤖 AI / LLM Reference (`SKILL.md`)
|
|
468
|
+
|
|
469
|
+
GlassKit ships with an **AI-optimized component reference** in [`SKILL.md`](SKILL.md). This file is designed for LLMs, AI copilots, and code-generation tools to produce correct GlassKit markup without parsing `docs.html`.
|
|
470
|
+
|
|
471
|
+
### What it provides
|
|
472
|
+
|
|
473
|
+
- **Copy-paste-ready HTML** for all 22 components with exact nesting rules
|
|
474
|
+
- **Complete design token tables** (colors, surfaces, blur, radii, spacing, shadows, typography)
|
|
475
|
+
- **State class reference** – which class goes where (`is-active`, `is-open`, `is-visible`, `:checked`)
|
|
476
|
+
- **6 composition patterns** – full page layouts (Login, Dashboard, Form, Modal, Settings, Progress)
|
|
477
|
+
- **Common mistakes & corrections** – prevents the most frequent AI-generated errors
|
|
478
|
+
- **Quick reference table** – all components with their modifiers at a glance
|
|
479
|
+
|
|
480
|
+
### Usage with AI assistants
|
|
481
|
+
|
|
482
|
+
Attach or reference `SKILL.md` when asking an AI to generate GlassKit HTML. It provides the structured context needed for production-ready output – correct BEM hierarchy, proper modifier usage, and idiomatic component composition.
|
|
483
|
+
|
|
484
|
+
> **Tip:** While `docs.html` is built for humans browsing with live previews, `SKILL.md` is built for machines generating code. Both are kept in sync.
|
|
485
|
+
|
|
447
486
|
---
|
|
448
487
|
|
|
449
488
|
## 🌐 Browser Compatibility
|