@jungherz-de/glasskit 1.3.0
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 +157 -0
- package/LICENSE +21 -0
- package/README.md +544 -0
- package/glasskit-styles.js +9 -0
- package/glasskit.css +1267 -0
- package/glasskit.min.css +4 -0
- package/package.json +47 -0
- package/theme-override.css +127 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to **GlassKit** are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
6
|
+
GlassKit uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## [1.3.0] – 2026-03-21
|
|
11
|
+
|
|
12
|
+
### 🎉 Initial Public Release
|
|
13
|
+
|
|
14
|
+
GlassKit entstand aus einem konkreten Kundenprojekt (MeineFinanzCloud /
|
|
15
|
+
Jungherz GmbH) und wurde im Laufe des Projekts zu einer vollständigen,
|
|
16
|
+
wiederverwendbaren Komponentenbibliothek ausgebaut. Version 1.3 ist die
|
|
17
|
+
erste öffentliche Veröffentlichung als Open-Source-Projekt.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
#### Kern-Library (`glasskit.css`)
|
|
24
|
+
- **Design Tokens** – vollständiges System aus CSS Custom Properties
|
|
25
|
+
(`--gl-color-*`, `--gl-surface-*`, `--gl-border-*`, `--gl-blur-*`,
|
|
26
|
+
`--gl-radius-*`, `--gl-shadow-*`, `--gl-space-*`, `--gl-font-*`)
|
|
27
|
+
- **Scoped Reset** – `box-sizing: border-box` für alle `[class*="glass-"]`
|
|
28
|
+
Elemente, verhindert Layout-Konflikte mit bestehenden Projekten
|
|
29
|
+
- **Dark Mode** (Standard) via `:root` / `[data-theme="dark"]`
|
|
30
|
+
- **Light Mode** via `[data-theme="light"]` – vollständig eigene Token-Werte
|
|
31
|
+
|
|
32
|
+
#### Komponenten (22 gesamt)
|
|
33
|
+
|
|
34
|
+
| # | Komponente | Klasse |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| 1 | Hintergrund | `.glass-bg` |
|
|
37
|
+
| 2 | Navigation Bar | `.glass-nav` |
|
|
38
|
+
| 3 | Pill-Button | `.glass-pill` |
|
|
39
|
+
| 4 | Tab-Bar | `.glass-tab-bar` |
|
|
40
|
+
| 5 | Seitentitel | `.glass-title` |
|
|
41
|
+
| 6 | Card | `.glass-card` |
|
|
42
|
+
| 7 | Button | `.glass-btn` |
|
|
43
|
+
| 8 | Badge | `.glass-badge` |
|
|
44
|
+
| 9 | Avatar | `.glass-avatar` |
|
|
45
|
+
| 10 | Divider | `.glass-divider` |
|
|
46
|
+
| 11 | Status-Hinweis | `.glass-status` |
|
|
47
|
+
| 12 | Input | `.glass-input` |
|
|
48
|
+
| 13 | Textarea | `.glass-textarea` |
|
|
49
|
+
| 14 | Select | `.glass-select` |
|
|
50
|
+
| 15 | Suchfeld | `.glass-search` |
|
|
51
|
+
| 16 | Toggle Switch | `.glass-toggle` |
|
|
52
|
+
| 17 | Checkbox | `.glass-checkbox` |
|
|
53
|
+
| 18 | Radio Button | `.glass-radio` |
|
|
54
|
+
| 19 | Range Slider | `.glass-range` |
|
|
55
|
+
| 20 | Progress Bar | `.glass-progress` |
|
|
56
|
+
| 21 | Modal | `.glass-modal` |
|
|
57
|
+
| 22 | Toast | `.glass-toast` |
|
|
58
|
+
|
|
59
|
+
#### Modifier & States
|
|
60
|
+
- Button-Varianten: `--primary`, `--secondary`, `--tertiary`, `--sm`, `--lg`, `--auto`
|
|
61
|
+
- Card-Variante: `--glow` (Hell→Milchig-Verlauf mit Lichtstreifen)
|
|
62
|
+
- Progress-Varianten: `--sm`, `--lg`, `--success`, `--error`
|
|
63
|
+
- Badge-Varianten: `--primary`, `--success`, `--error`
|
|
64
|
+
- Avatar-Größen: `--sm`, `--lg`
|
|
65
|
+
- Toast-Varianten: `--success`, `--error`, `--warning`
|
|
66
|
+
- Modal-Actions: `--primary`, `--danger`
|
|
67
|
+
- Interaktive States: `.is-active`, `.is-open`, `.is-visible`
|
|
68
|
+
|
|
69
|
+
#### Utility-Klassen
|
|
70
|
+
- Layout: `.gl-stack`, `.gl-row` (je mit Gap-Varianten `--xs` bis `--xl`)
|
|
71
|
+
- Spacing: `.gl-mt-*`, `.gl-mb-*`, `.gl-px`
|
|
72
|
+
- Text: `.gl-text-center`, `.gl-text-muted`, `.gl-text-sm`
|
|
73
|
+
- Sonstige: `.gl-w-full`, `.gl-flex-1`
|
|
74
|
+
|
|
75
|
+
#### Dateien
|
|
76
|
+
- `glasskit.css` – Kern-Library
|
|
77
|
+
- `glasskit.min.css` – Minifizierte Version (auto-generated bei Release)
|
|
78
|
+
- `glasskit-styles.js` – Constructable Stylesheet für Shadow DOM (auto-generated)
|
|
79
|
+
- `theme-override.css` – Template für eigene Themes (4 Beispiel-Themes:
|
|
80
|
+
Ocean Blue, Emerald Green, Rose, Custom)
|
|
81
|
+
- `build-styles-js.mjs` – Build-Script für glasskit-styles.js
|
|
82
|
+
- `package.json` – npm-Paketdefinition
|
|
83
|
+
- `index.html` – Landingpage mit iPhone-Wireframe & eingebettetem Showcase
|
|
84
|
+
- `showcase.html` – Interaktiver Showcase aller 22 Komponenten
|
|
85
|
+
- `docs.html` – Vollständige Dokumentation mit Live-Previews,
|
|
86
|
+
Code-Blocks und Klassen-Tabellen
|
|
87
|
+
- `README.md` – Projektdokumentation
|
|
88
|
+
- `CHANGELOG.md` – Diese Datei
|
|
89
|
+
- `LICENSE` – MIT License
|
|
90
|
+
|
|
91
|
+
#### Build & Distribution
|
|
92
|
+
- **GitHub Actions Release Pipeline** – automatische Minifizierung,
|
|
93
|
+
Constructable Stylesheet Generierung und npm-Veröffentlichung bei
|
|
94
|
+
jedem GitHub Release
|
|
95
|
+
- **npm-Paket** `@jungherz-de/glasskit` – installierbar via npm, yarn, pnpm
|
|
96
|
+
- **CDN-Verfügbarkeit** – sofort über jsDelivr und unpkg nutzbar
|
|
97
|
+
- **Shadow-DOM-Support** – `glasskit-styles.js` exportiert ein fertiges
|
|
98
|
+
Constructable Stylesheet fĂĽr Web Components (Vanilla, Hybrids, Lit etc.)
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
### Fixed
|
|
103
|
+
|
|
104
|
+
- `box-sizing: border-box` fehlte bei `.glass-input` und `.glass-textarea`,
|
|
105
|
+
was bei bestimmten Projekten dazu fĂĽhrte, dass sich Felder ĂĽber den
|
|
106
|
+
Bildschirmrand hinaus ausdehnten → durch Scoped Reset global gelöst
|
|
107
|
+
- Suchfeld-Icon (`.glass-search__icon`) war in einigen Browsern nicht
|
|
108
|
+
sichtbar → `!important` auf `stroke`, `fill`, `stroke-width` gesetzt
|
|
109
|
+
sowie `z-index: 2` ergänzt
|
|
110
|
+
- Button-Icons fehlten im Showcase → SVGs zurück in alle Buttons eingefügt,
|
|
111
|
+
Icon-Farben konsistent ĂĽber `--gl-icon-*` Tokens gesteuert
|
|
112
|
+
- Modal und Toast lagen auĂźerhalb von `.glass-bg` und erbten dadurch keine
|
|
113
|
+
`font-family` → `font-family: var(--gl-font-family)` direkt auf
|
|
114
|
+
`.glass-modal-overlay` und `.glass-toast` gesetzt
|
|
115
|
+
- iPhone-Frame: iFrame-Inhalt schien beim Scrollen an den abgerundeten Ecken
|
|
116
|
+
durch → Fix via `isolation: isolate`, `-webkit-mask-image` und
|
|
117
|
+
`transform: translateZ(0)` auf `.phone-frame`
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### Design Decisions
|
|
122
|
+
|
|
123
|
+
- **Glassmorphism inspiriert von iOS 26 Liquid Glass** – Apple hat mit iOS 26
|
|
124
|
+
das Glasdesign grundlegend neu definiert. GlassKit ĂĽbersetzt diesen Look
|
|
125
|
+
in reines CSS fĂĽr Web und App.
|
|
126
|
+
- **Keine JavaScript-Abhängigkeiten** – Alle Animationen und Übergänge
|
|
127
|
+
laufen rein über CSS Transitions. Nur Modal, Toast und Accordion benötigen
|
|
128
|
+
minimales `classList.toggle()` ohne Framework.
|
|
129
|
+
- **BEM-artige Namenskonvention** – `glass-*` Prefix verhindert Konflikte
|
|
130
|
+
mit bestehendem CSS im Zielprojekt.
|
|
131
|
+
- **Token-First** – Jeder visuelle Wert ist ein Token. Theming erfordert
|
|
132
|
+
keine Änderungen an der Kern-Library.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
### Project
|
|
137
|
+
|
|
138
|
+
- Repository: [github.com/JUNGHERZ/GlassKit](https://github.com/JUNGHERZ/GlassKit)
|
|
139
|
+
- npm: [@jungherz-de/glasskit](https://www.npmjs.com/package/@jungherz-de/glasskit)
|
|
140
|
+
- CDN: [cdn.jsdelivr.net/npm/@jungherz-de/glasskit](https://cdn.jsdelivr.net/npm/@jungherz-de/glasskit/)
|
|
141
|
+
- Lizenz: MIT
|
|
142
|
+
- Entwickelt von: [Jungherz GmbH](https://www.jungherz.com)
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## [Unreleased]
|
|
147
|
+
|
|
148
|
+
> Geplante Erweiterungen fĂĽr kommende Versionen:
|
|
149
|
+
|
|
150
|
+
- [ ] Weitere Themes (Purple, Midnight, Sand)
|
|
151
|
+
- [ ] Animierte HintergrĂĽnde (Aurora-Motion)
|
|
152
|
+
- [ ] Figma-Komponentenset
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
[1.3.0]: https://github.com/JUNGHERZ/GlassKit/releases/tag/v1.3.0
|
|
157
|
+
[Unreleased]: https://github.com/JUNGHERZ/GlassKit/compare/v1.3.0...HEAD
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jungherz GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|