@ahmetilhn/hanui 2.2.1 → 2.4.1

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/README.md CHANGED
@@ -416,7 +416,7 @@ import NextLink from 'next/link';
416
416
  ```bash
417
417
  nvm use # .nvmrc → 24
418
418
  npm install
419
- npm run verify # tokens → kontrast → typecheck → lint → kapsam → build → boyut
419
+ npm run verify # tokens → kontrast → typecheck → lint → kapsam → build → API → animasyon → boyut
420
420
  npm run playground # bileşen galerisi → http://localhost:5273
421
421
  ```
422
422
 
@@ -429,6 +429,7 @@ npm run playground # bileşen galerisi → http://localhost:5273
429
429
  | `npm run test:visual` | görsel regresyon (Playwright); `verify` İÇİNDE DEĞİL, aşağı bkz. |
430
430
  | `npm run test:device` | iOS (WebKit) + Android (Chromium) davranış nöbetçileri, aşağı bkz. |
431
431
  | `npm run check:contrast` | WCAG kontrast ölçümü, iki temada 120 çift |
432
+ | `npm run check:api` | genel API nöbetçisi — `build/index.d.ts` ↔ `scripts/api-baseline.txt` (164 ad) |
432
433
  | `npm run size` | paket boyutu bütçesi (`size-limit`) |
433
434
  | `npm run playground` | bileşen galerisi (tema · RTL · yoğunluk anahtarı) |
434
435
  | `npm run lint` | ESLint (TS) + stylelint (SCSS) |
@@ -447,6 +448,11 @@ npm run playground # bileşen galerisi → http://localhost:5273
447
448
  eşleşir. Ayrışma bugüne kadar sessizdi.
448
449
  - **Paket boyutu** — tek bileşen import eden bir uygulamanın ne indirdiği
449
450
  ölçülür (`Badge` 2,7 kB, `Button` 3,4 kB, tüm paket 22,2 kB gzip).
451
+ - **Genel API** — `build/index.d.ts`teki dışa aktarım kümesi
452
+ `scripts/api-baseline.txt` ile karşılaştırılır (`npm run check:api`, 164 ad).
453
+ Düşen bir ad **kırıcı**dır ama bugün görünmez: iki tüketici de sürümü tam
454
+ pinliyor, yani kırılma bir sonraki yükseltmede ortaya çıkar. Bilinçli
455
+ değişiklikte `node scripts/check-api.mjs --update` + CLAUDE.md'ye gerekçe.
450
456
  - **Odak halkası ve hareket ölçeği** — stylelint, `focus-ring` mixin'i dışında
451
457
  `outline` ve bileşen SCSS'inde ham süre değeri (`0.7s`) yazılmasını
452
458
  engelliyor. Üç bileşen kendi halkasını, iki bileşen kendi süresini