feat(cam): sıvı cam motoru Liquid Glass UI 2.0.4'e geçti (→ 2.12.14)
12 Kasım'daki elle çeviri kaldırıldı; motor artık kitin kendi dosyalarının birebir kopyası (src/components/liquid-glass: engine, dom-snapshot, glass-layer, glass-lens, glass-badge; bağımlılıksız WebGL2, MIT). sivi-cam.tsx ürüne özgü ince bağdaştırıcı oldu: sıvı cam tercihi, ikon damlası, CTA yüzeyi. İşaret adları kitinkilere çevrildi (data-glass-ready, data-glass-highlight, data-glass-moving, data-glass-traveling). - CTA yüzeyindeki mavi boya CSS'e taşındı (--glass-tint) - Baştaki ikon damlası için tuval yatay çevriliyor - CAM_YAYI silindi (yaylar kitin SPRINGS'i) - Kit klasörü eslint ve tasarım denetimi dışında; tsconfig hedefi ES2018 - DESIGN.md §4.50 güncellendi Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
* Çıkış kodu: hata varsa 1, yoksa 0. Uyarılar çıkış kodunu etkilemez.
|
||||
* Kapsam: src/**\/*.tsx. Hariç: src/components/ui (shadcn tabanı) ve
|
||||
* src/components/dev (yalnızca geliştirici paneli) — bazı kurallarda.
|
||||
* Tümüyle hariç: src/components/liquid-glass (Liquid Glass UI kitinden birebir
|
||||
* kopya, elle düzenlenmez; DESIGN.md §4.50).
|
||||
*/
|
||||
import { readdirSync, readFileSync, statSync } from "node:fs";
|
||||
import { join, relative } from "node:path";
|
||||
@@ -34,11 +36,14 @@ type Kural = {
|
||||
const KOK = process.cwd();
|
||||
const KAYNAK = join(KOK, "src");
|
||||
const UI_VEYA_DEV = /src\/components\/(ui|dev)\//;
|
||||
/** Kitten birebir kopyalanan cam motoru (§4.50): bizim kurallarımızla yazılmadı, taranmaz. */
|
||||
const KIT_KOPYASI = /src\/components\/liquid-glass$/;
|
||||
|
||||
function tsxDosyalari(dizin: string): string[] {
|
||||
const sonuc: string[] = [];
|
||||
for (const ad of readdirSync(dizin)) {
|
||||
const yol = join(dizin, ad);
|
||||
if (KIT_KOPYASI.test(yol)) continue;
|
||||
if (statSync(yol).isDirectory()) sonuc.push(...tsxDosyalari(yol));
|
||||
else if (yol.endsWith(".tsx")) sonuc.push(yol);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user