@ahmetilhn/hanui 2.2.0 → 2.4.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/build/index.d.ts CHANGED
@@ -655,7 +655,13 @@ declare const FilterBar_2: FC<Props_48>;
655
655
  */
656
656
  export declare const FilterBarField: FC<FieldProps>;
657
657
 
658
- /** Sayı biçimlendiricileri: değere bağlı metinler dizeyle verilemez. */
658
+ /**
659
+ * Sayı biçimlendiricileri: değere bağlı metinler dizeyle verilemez.
660
+ *
661
+ * ⚠ `helpers/label.helper.ts` de aynı imzayı ELLE taşıyordu. Tip
662
+ * <strong>index.ts'ten dışa verilmiyor</strong>, yani birleştirmek genel API'yi
663
+ * değiştirmez — ölçüldü (`npm run check:api`).
664
+ */
659
665
  declare type Formatter<TArgs extends unknown[]> = (...args: TArgs) => string;
660
666
 
661
667
  /**
@@ -673,8 +679,12 @@ export declare type HanuiContextValue = {
673
679
  /** Uygulanan tema ezmeleri. Salt okunur; değiştirmek için `HanuiProvider`. */
674
680
  theme?: HanuiThemeConfig;
675
681
  /**
676
- * Arayüz metinleri. Bir bileşen metnini prop olarak almadıysa buradan okur
677
- * (bkz. `theme/labels.ts`).
682
+ * Arayüz metinleri. Bir bileşen metnini prop olarak almadıysa buradan okur;
683
+ * varsayılanlar `HanuiLabels` alanlarının yanında yazılı.
684
+ *
685
+ * ⚠ Referans bir dönem `theme/labels.ts`yi gösteriyordu; o dosya yalnızca
686
+ * tek satırlık bir başlık yorumu taşıyordu (sıfır export, sıfır import) ve
687
+ * kaldırıldı — belge var olmayan bir yeri işaret ediyordu.
678
688
  */
679
689
  labels?: HanuiLabels;
680
690
  };
@@ -940,6 +950,8 @@ export declare const LIGHT_THEME: {
940
950
  readonly 'action-hover': "#004d40";
941
951
  readonly 'action-active': "#0f574a";
942
952
  readonly 'on-action': "#ffffff";
953
+ /** Dolgunun SINIRI; açık temada dolgunun kendisi (bkz. `ACTION_LINE`). */
954
+ readonly 'action-line': "#00322a";
943
955
  /** Pasif dolgu; saydamlık DEĞİL kendi rengi (bkz. Button `:disabled`). */
944
956
  readonly 'action-soft': "#c5d3cc";
945
957
  /** PASİF DOLGU ÜZERİNDEKİ METİN. */
@@ -949,12 +961,13 @@ export declare const LIGHT_THEME: {
949
961
  readonly 'amber-active': "#b87205";
950
962
  readonly 'amber-soft': "#f8cd80";
951
963
  readonly 'on-amber': "#291500";
952
- readonly blue: "#2f6fed";
953
- readonly 'blue-hover': "#1d54c4";
954
- readonly 'blue-active': "#17439c";
955
- readonly 'blue-text': "#1d54c4";
956
- readonly 'blue-tint': "#eaf1fe";
957
- readonly 'blue-line': "#bcd2fb";
964
+ readonly blue: "#1a7f61";
965
+ readonly 'blue-hover': "#10654b";
966
+ readonly 'blue-active': "#0a4d39";
967
+ readonly 'blue-text': "#147155";
968
+ readonly 'blue-tint': "#e9f6f2";
969
+ readonly 'blue-line': "#acd8cb";
970
+ readonly 'on-blue': "#ffffff";
958
971
  readonly 'ok-bg': "#e6f4ed";
959
972
  readonly 'ok-fg': "#156f4e";
960
973
  readonly 'ok-line': "#a8dcc4";
@@ -967,9 +980,9 @@ export declare const LIGHT_THEME: {
967
980
  readonly 'bad-bg': "#f8ebeb";
968
981
  readonly 'bad-fg': "#bb1e1e";
969
982
  readonly 'bad-line': "#e6a6a6";
970
- readonly 'oem-bg': "#eaf1fe";
971
- readonly 'oem-fg': "#16305c";
972
- readonly 'oem-line': "#a9c6f9";
983
+ readonly 'oem-bg': "#edf8f5";
984
+ readonly 'oem-fg': "#0d5942";
985
+ readonly 'oem-line': "#b5ded2";
973
986
  readonly 'alt-bg': "#eeebfa";
974
987
  readonly 'alt-fg': "#2e2661";
975
988
  readonly 'alt-line': "#c0b6ea";
@@ -992,6 +1005,11 @@ export declare const LIGHT_THEME: {
992
1005
  readonly 'nav-line-strong': "#c5d3cc";
993
1006
  readonly 'nav-hover': "#eff4f1";
994
1007
  readonly 'footer-bg': "#eff4f1";
1008
+ readonly 'band-bg': "#00322a";
1009
+ readonly 'band-fg': "#eff4f1";
1010
+ readonly 'band-fg-2': "#8fb3a7";
1011
+ readonly 'band-line': "#0a4a3e";
1012
+ readonly 'band-hover': string;
995
1013
  readonly 'shadow-xs': `0 1px 2px ${string}`;
996
1014
  readonly 'shadow-sm': `0 1px 2px ${string}, 0 1px 3px ${string}`;
997
1015
  readonly 'shadow-md': `0 2px 4px ${string}, 0 6px 16px ${string}`;
@@ -1001,7 +1019,7 @@ export declare const LIGHT_THEME: {
1001
1019
  readonly 'shadow-up': `0 -2px 4px ${string}, 0 -8px 24px ${string}`;
1002
1020
  /** Odak halkası MAVİ: odak bir gezinme olayıdır, bir dönüşüm değil. */
1003
1021
  readonly ring: `0 0 0 3px ${string}`;
1004
- readonly 'ring-color': "#2f6fed";
1022
+ readonly 'ring-color': "#1a7f61";
1005
1023
  readonly 'ring-danger': `0 0 0 3px ${string}`;
1006
1024
  readonly 'ring-ok': `0 0 0 4px ${string}`;
1007
1025
  readonly scrim: string;
@@ -2344,7 +2362,7 @@ export declare type ToastTone = 'info' | 'success' | 'warning' | 'danger';
2344
2362
  export declare const Tooltip: typeof Tooltip_2;
2345
2363
 
2346
2364
  /** İpucu balonu. */
2347
- declare const Tooltip_2: ({ content, children, side, position, openDelay, className }: Props_3) => JSX.Element;
2365
+ declare const Tooltip_2: ({ content, children, side, position, openDelay, className, }: Props_3) => JSX.Element;
2348
2366
 
2349
2367
  /** Ölçü basamakları. */
2350
2368
  export declare enum UISize {