@ahmetilhn/hanui 5.4.0 → 5.6.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/README.md +4 -2
- package/build/index.cjs +3 -3
- package/build/index.cjs.map +1 -1
- package/build/index.d.ts +163 -118
- package/build/index.js +2670 -2570
- package/build/index.js.map +1 -1
- package/build/scss/_mixins.scss +25 -0
- package/build/styles.css +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const Accordion: typeof Accordion_2;
|
|
|
30
30
|
* Akordeon — katlanabilir bölümler. Her bölüm bir `Disclosure`: yerel `<details>` mantığı (kontrollü
|
|
31
31
|
* kipte DOM eşitlemesi, `onToggle`, pasif başlık) TEK yerde yaşar.
|
|
32
32
|
*/
|
|
33
|
-
declare const Accordion_2: FC<
|
|
33
|
+
declare const Accordion_2: FC<Props_41>;
|
|
34
34
|
|
|
35
35
|
export declare type AccordionItem = {
|
|
36
36
|
id: string;
|
|
@@ -45,7 +45,7 @@ export declare type AccordionItem = {
|
|
|
45
45
|
export declare const Alert: typeof Alert_2;
|
|
46
46
|
|
|
47
47
|
/** Bilgi / uyarı kutusu. */
|
|
48
|
-
declare const Alert_2: FC<
|
|
48
|
+
declare const Alert_2: FC<Props_19>;
|
|
49
49
|
|
|
50
50
|
export declare type AlertTone = 'info' | 'success' | 'warning' | 'danger';
|
|
51
51
|
|
|
@@ -58,7 +58,7 @@ export declare const applyThemeConfig: (config: HanuiThemeConfig | undefined) =>
|
|
|
58
58
|
export declare const Avatar: typeof Avatar_2;
|
|
59
59
|
|
|
60
60
|
/** Avatar — kullanıcı madalyonu. */
|
|
61
|
-
declare const Avatar_2: FC<
|
|
61
|
+
declare const Avatar_2: FC<Props_20>;
|
|
62
62
|
|
|
63
63
|
declare type AvatarShape = 'circle' | 'rounded';
|
|
64
64
|
|
|
@@ -71,7 +71,7 @@ declare type AvatarTone = 'auto' | 'brand';
|
|
|
71
71
|
export declare const Badge: typeof Badge_2;
|
|
72
72
|
|
|
73
73
|
/** Rozet — durum ve sınıflandırma etiketi. */
|
|
74
|
-
declare const Badge_2: FC<
|
|
74
|
+
declare const Badge_2: FC<Props_21>;
|
|
75
75
|
|
|
76
76
|
export declare type BadgeTone = 'neutral' | 'success' | 'danger' | 'warning' | 'info'
|
|
77
77
|
/** Birincil sınıflandırma tinti (yeşil aile — örn. "Orijinal"). */
|
|
@@ -154,12 +154,12 @@ declare type BaseProps_4 = {
|
|
|
154
154
|
testId?: string;
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export declare const BottomSheet: MemoExoticComponent<({ title, closeLabel, onClose, children, toolbar, footer, closeAbove, className, testId, }:
|
|
157
|
+
export declare const BottomSheet: MemoExoticComponent<({ title, closeLabel, onClose, children, toolbar, footer, closeAbove, className, testId, }: Props_47) => ReactPortal | null>;
|
|
158
158
|
|
|
159
159
|
export declare const Breadcrumb: typeof Breadcrumb_2;
|
|
160
160
|
|
|
161
161
|
/** Kırıntı yolu. */
|
|
162
|
-
declare const Breadcrumb_2: FC<
|
|
162
|
+
declare const Breadcrumb_2: FC<Props_22>;
|
|
163
163
|
|
|
164
164
|
/** Yapılandırmayı CSS metnine çevirir. */
|
|
165
165
|
export declare const buildThemeCss: (config: HanuiThemeConfig) => string;
|
|
@@ -263,7 +263,7 @@ declare type CardSectionProps = {
|
|
|
263
263
|
export declare const Carousel: typeof Carousel_2;
|
|
264
264
|
|
|
265
265
|
/** Kaydırılabilir şerit (carousel). */
|
|
266
|
-
declare const Carousel_2: FC<
|
|
266
|
+
declare const Carousel_2: FC<Props_23>;
|
|
267
267
|
|
|
268
268
|
export declare const Checkbox: typeof Checkbox_2;
|
|
269
269
|
|
|
@@ -343,7 +343,7 @@ export declare const CodeBadge: typeof CodeBadge_2;
|
|
|
343
343
|
* Etkileşimli kipte (`onClick` / `href`) kod bir düğme ya da bağlantıdır; kopyalama düğmesi onun
|
|
344
344
|
* KARDEŞİ kalır (iç içe düğme geçersiz HTML).
|
|
345
345
|
*/
|
|
346
|
-
declare const CodeBadge_2: FC<
|
|
346
|
+
declare const CodeBadge_2: FC<Props_24>;
|
|
347
347
|
|
|
348
348
|
export declare type CodeBadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
349
349
|
|
|
@@ -419,7 +419,7 @@ export declare type CommandItem = {
|
|
|
419
419
|
export declare const CommandPalette: typeof CommandPalette_2;
|
|
420
420
|
|
|
421
421
|
/** Komut paleti — klavyeyle her şeye ulaşma. */
|
|
422
|
-
declare const CommandPalette_2: ({ isOpen, onClose, items, label, searchPlaceholder, emptyMessage, hotkey, onOpen, className, testId, }:
|
|
422
|
+
declare const CommandPalette_2: ({ isOpen, onClose, items, label, searchPlaceholder, emptyMessage, hotkey, onOpen, className, testId, }: Props_49) => JSX.Element;
|
|
423
423
|
|
|
424
424
|
/** Her bileşenin kabul ettiği ortak kanca noktaları. */
|
|
425
425
|
export declare type CommonElementProps = Partial<{
|
|
@@ -440,14 +440,36 @@ export declare const ConfirmDialog: typeof ConfirmDialog_2;
|
|
|
440
440
|
* Onay penceresi.
|
|
441
441
|
* @example const [target, setTarget] = useState<Address | null>(null);
|
|
442
442
|
*/
|
|
443
|
-
declare const ConfirmDialog_2: FC<
|
|
443
|
+
declare const ConfirmDialog_2: FC<Props_50>;
|
|
444
444
|
|
|
445
445
|
export declare type ConfirmKind = 'destructive' | 'warning' | 'neutral';
|
|
446
446
|
|
|
447
|
+
export declare const ContextMenu: MemoExoticComponent<({ point, onClose, items, label, header, className, testId, }: ContextMenuProps) => JSX.Element>;
|
|
448
|
+
|
|
449
|
+
declare type ContextMenuProps = {
|
|
450
|
+
/**
|
|
451
|
+
* Açılış noktası — `contextmenu` olayının `clientX` / `clientY`si (görünüm alanı koordinatı).
|
|
452
|
+
* `null` iken menü kapalı.
|
|
453
|
+
*/
|
|
454
|
+
point: {
|
|
455
|
+
x: number;
|
|
456
|
+
y: number;
|
|
457
|
+
} | null;
|
|
458
|
+
/** Escape, Tab, dışarı tıklama ya da seçilen eylemden sonra çağrılır; çağıran `point`i `null` yapar. */
|
|
459
|
+
onClose: () => void;
|
|
460
|
+
items: MenuItem[];
|
|
461
|
+
/** Menünün erişilebilir adı ("Seçim seçenekleri"). */
|
|
462
|
+
label: string;
|
|
463
|
+
/** Eylemlerin ÜSTÜNDE okunan bağlam (seçimin özeti, ölçümler) — `role="menu"`nün DIŞINDA. */
|
|
464
|
+
header?: ReactNode;
|
|
465
|
+
className?: string;
|
|
466
|
+
testId?: string;
|
|
467
|
+
};
|
|
468
|
+
|
|
447
469
|
export declare const CopyField: typeof CopyField_2;
|
|
448
470
|
|
|
449
471
|
/** Kopyalanabilir teknik değer — tek dokunuşla panoya. */
|
|
450
|
-
declare const CopyField_2: FC<
|
|
472
|
+
declare const CopyField_2: FC<Props_27>;
|
|
451
473
|
|
|
452
474
|
export declare type Crumb = {
|
|
453
475
|
label: string;
|
|
@@ -461,7 +483,7 @@ export declare const DARK_THEME: Record<keyof typeof LIGHT_THEME, string>;
|
|
|
461
483
|
export declare const DataTable: typeof DataTable_2;
|
|
462
484
|
|
|
463
485
|
/** Operasyon veri tablosu — durum satırlı tablo sözleşmesi. */
|
|
464
|
-
declare const DataTable_2: FC<
|
|
486
|
+
declare const DataTable_2: FC<Props_54>;
|
|
465
487
|
|
|
466
488
|
export declare type DataTableColumn = {
|
|
467
489
|
/** Sütun kimliği (React key). */
|
|
@@ -487,13 +509,15 @@ export declare const DataTableRow: FC<RowProps>;
|
|
|
487
509
|
export declare const DateField: typeof DateField_2;
|
|
488
510
|
|
|
489
511
|
/** Tarih alanı — yerel `<input type="date">`. */
|
|
490
|
-
declare const DateField_2: ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
512
|
+
declare const DateField_2: ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
491
513
|
/** `date` (varsayılan) · `datetime-local` · `month` · `time`. */
|
|
492
514
|
type?: "date" | "datetime-local" | "month" | "time";
|
|
515
|
+
/** `sm` yoğun şeritler içindir (araç çubuğu, `Select size="sm"` yanında); varsayılan form ölçüsü `md`. */
|
|
516
|
+
size?: "sm" | "md";
|
|
493
517
|
testId?: string;
|
|
494
518
|
} & RefAttributes<HTMLInputElement>>;
|
|
495
519
|
|
|
496
|
-
export declare const DateRange: MemoExoticComponent<({ value, onChange, startLabel, endLabel, separator, min, max, isSummaryVisible, isDisabled, className, testId, }: RangeProps) => JSX.Element>;
|
|
520
|
+
export declare const DateRange: MemoExoticComponent<({ value, onChange, startLabel, endLabel, separator, min, max, isSummaryVisible, size, isDisabled, className, testId, }: RangeProps) => JSX.Element>;
|
|
497
521
|
|
|
498
522
|
export declare type DateRangeValue = {
|
|
499
523
|
/** ISO tarih (`YYYY-MM-DD`) ya da boş dize. */
|
|
@@ -574,24 +598,24 @@ export declare const Disclosure: typeof Disclosure_2;
|
|
|
574
598
|
* ⚠ Yerel öğe bilinçli: odak, klavye ve ekran okuyucunun "genişletildi / daraltıldı" duyurusu
|
|
575
599
|
* tarayıcıdan geliyor. Taklit bir `button[aria-expanded]` bunları yeniden yazmak demekti.
|
|
576
600
|
*/
|
|
577
|
-
declare const Disclosure_2: FC<
|
|
601
|
+
declare const Disclosure_2: FC<Props_42>;
|
|
578
602
|
|
|
579
603
|
export declare type DisclosureVariant = 'framed' | 'plain';
|
|
580
604
|
|
|
581
605
|
export declare const Divider: typeof Divider_2;
|
|
582
606
|
|
|
583
607
|
/** Ayırıcı çizgi. */
|
|
584
|
-
declare const Divider_2: FC<
|
|
608
|
+
declare const Divider_2: FC<Props_28>;
|
|
585
609
|
|
|
586
610
|
export declare const Drawer: typeof Drawer_2;
|
|
587
611
|
|
|
588
612
|
/** Çekmece (drawer) — kenardan açılan kipsel panel. */
|
|
589
|
-
declare const Drawer_2: ({ isOpen, onClose, title, closeLabel, children, side, size, footer, toolbar, className, testId, }:
|
|
613
|
+
declare const Drawer_2: ({ isOpen, onClose, title, closeLabel, children, side, size, footer, toolbar, className, testId, }: Props_51) => JSX.Element;
|
|
590
614
|
|
|
591
615
|
export declare const EmptyState: typeof EmptyState_2;
|
|
592
616
|
|
|
593
617
|
/** Boş durum. */
|
|
594
|
-
declare const EmptyState_2: FC<
|
|
618
|
+
declare const EmptyState_2: FC<Props_29>;
|
|
595
619
|
|
|
596
620
|
export declare const Field: typeof Field_2;
|
|
597
621
|
|
|
@@ -600,7 +624,7 @@ export declare const Field: typeof Field_2;
|
|
|
600
624
|
* @example <Field label="E-posta" isRequired requiredLabel="(zorunlu)"…
|
|
601
625
|
* @example // `{...props}` yaymayan bileşenlerde (Combobox, Select) yalnızca `id`…
|
|
602
626
|
*/
|
|
603
|
-
declare const Field_2: FC<
|
|
627
|
+
declare const Field_2: FC<Props_17>;
|
|
604
628
|
|
|
605
629
|
/** Girdiye yayılacak erişilebilirlik bağları. */
|
|
606
630
|
export declare type FieldChildProps = {
|
|
@@ -620,12 +644,12 @@ declare type FieldProps = {
|
|
|
620
644
|
export declare const FileUpload: typeof FileUpload_2;
|
|
621
645
|
|
|
622
646
|
/** Dosya yükleme — sürükle-bırak ve düğme. */
|
|
623
|
-
declare const FileUpload_2: ({ files, onSelect, onRemove, label, hint, accept, isMultiple, maxSize, removeLabel, dropLabel, sizeErrorText, isDisabled, error, children, className, testId, }:
|
|
647
|
+
declare const FileUpload_2: ({ files, onSelect, onRemove, label, hint, accept, isMultiple, maxSize, removeLabel, dropLabel, sizeErrorText, isDisabled, error, children, className, testId, }: Props_18) => JSX.Element;
|
|
624
648
|
|
|
625
649
|
export declare const FilterBar: typeof FilterBar_2;
|
|
626
650
|
|
|
627
651
|
/** Filtre şeridi. */
|
|
628
|
-
declare const FilterBar_2: FC<
|
|
652
|
+
declare const FilterBar_2: FC<Props_55>;
|
|
629
653
|
|
|
630
654
|
/** Şerit içindeki tek alanın genişlik sözleşmesi. */
|
|
631
655
|
export declare const FilterBarField: FC<FieldProps>;
|
|
@@ -955,13 +979,15 @@ export declare type InitHanuiOptions = Partial<{
|
|
|
955
979
|
export declare const Input: typeof Input_2;
|
|
956
980
|
|
|
957
981
|
/** Metin girdisi. */
|
|
958
|
-
declare const Input_2: ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & {
|
|
982
|
+
declare const Input_2: ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & {
|
|
959
983
|
/** Solda gösterilen ikon veya ön ek (arama simgesi, para birimi). */
|
|
960
984
|
prefix?: ReactNode;
|
|
961
985
|
/** Sağda gösterilen ikon veya birim (göz simgesi, "kg"). */
|
|
962
986
|
suffix?: ReactNode;
|
|
963
987
|
/** Teknik veri: */
|
|
964
988
|
isTechnical?: boolean;
|
|
989
|
+
/** `sm` yoğun şeritler içindir (araç çubuğu, `Select size="sm"` yanında); varsayılan form ölçüsü `md`. */
|
|
990
|
+
size?: "sm" | "md";
|
|
965
991
|
testId?: string;
|
|
966
992
|
} & RefAttributes<HTMLInputElement>>;
|
|
967
993
|
|
|
@@ -971,7 +997,7 @@ export declare const Kbd: typeof Kbd_2;
|
|
|
971
997
|
* Klavye kısayolu — `<kbd>` içinde her tuş kendi `<kbd>`si (HTML'in birleşik tuş deseni).
|
|
972
998
|
* Ekran okuyucu "Shift artı Enter" diye okur; yalnızca görsel bir ipucuysa `aria-hidden` geçin.
|
|
973
999
|
*/
|
|
974
|
-
declare const Kbd_2: FC<
|
|
1000
|
+
declare const Kbd_2: FC<Props_25>;
|
|
975
1001
|
|
|
976
1002
|
/** AÇIK TEMA — varsayılan. */
|
|
977
1003
|
export declare const LIGHT_THEME: {
|
|
@@ -1208,7 +1234,7 @@ export declare const MOBILE_BREAKPOINT = 640;
|
|
|
1208
1234
|
export declare const Modal: typeof Modal_2;
|
|
1209
1235
|
|
|
1210
1236
|
/** Kip pencere (modal). */
|
|
1211
|
-
declare const Modal_2: ({ isOpen, onClose, title, closeLabel, children, description, footer, icon, tone, size, isDismissable, className, testId, }:
|
|
1237
|
+
declare const Modal_2: ({ isOpen, onClose, title, closeLabel, children, description, footer, icon, tone, size, isDismissable, className, testId, }: Props_48) => JSX.Element;
|
|
1212
1238
|
|
|
1213
1239
|
export declare type ModalTone = 'neutral' | 'danger' | 'warning' | 'success' | 'info';
|
|
1214
1240
|
|
|
@@ -1224,12 +1250,12 @@ export declare const normalizeSearchTerm: (value: string) => string;
|
|
|
1224
1250
|
export declare const PageHeader: typeof PageHeader_2;
|
|
1225
1251
|
|
|
1226
1252
|
/** Sayfa başlığı — her ekranın aynı giriş bloğu. */
|
|
1227
|
-
declare const PageHeader_2: FC<
|
|
1253
|
+
declare const PageHeader_2: FC<Props_30>;
|
|
1228
1254
|
|
|
1229
1255
|
export declare const Pagination: typeof Pagination_2;
|
|
1230
1256
|
|
|
1231
1257
|
/** Sayfalama. */
|
|
1232
|
-
declare const Pagination_2: FC<
|
|
1258
|
+
declare const Pagination_2: FC<Props_56>;
|
|
1233
1259
|
|
|
1234
1260
|
export declare const Panel: typeof Panel_2;
|
|
1235
1261
|
|
|
@@ -1237,7 +1263,7 @@ export declare const Panel: typeof Panel_2;
|
|
|
1237
1263
|
* Panel — başlığı olan içerik kutusu.
|
|
1238
1264
|
* @example <Panel title="Profil bilgileri" description="Fatura bu bilgilerle kesilir">…
|
|
1239
1265
|
*/
|
|
1240
|
-
declare const Panel_2: FC<
|
|
1266
|
+
declare const Panel_2: FC<Props_31>;
|
|
1241
1267
|
|
|
1242
1268
|
/** Panel içindeki form ızgarası. */
|
|
1243
1269
|
export declare const PanelForm: FC<PanelFormProps>;
|
|
@@ -1284,6 +1310,13 @@ export declare type PositioningOptions = {
|
|
|
1284
1310
|
isOpen: boolean;
|
|
1285
1311
|
};
|
|
1286
1312
|
|
|
1313
|
+
declare type PositioningRect = {
|
|
1314
|
+
top: number;
|
|
1315
|
+
left: number;
|
|
1316
|
+
width: number;
|
|
1317
|
+
height: number;
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1287
1320
|
export declare type PositioningState = {
|
|
1288
1321
|
/** Yüzeye uygulanacak stil — `position: fixed` + hesaplanmış koordinat. */
|
|
1289
1322
|
style: {
|
|
@@ -1309,19 +1342,19 @@ export declare type PositionSide = 'top' | 'bottom' | 'left' | 'right';
|
|
|
1309
1342
|
export declare const Price: typeof Price_2;
|
|
1310
1343
|
|
|
1311
1344
|
/** Tutar gösterimi. */
|
|
1312
|
-
declare const Price_2: FC<
|
|
1345
|
+
declare const Price_2: FC<Props_32>;
|
|
1313
1346
|
|
|
1314
1347
|
export declare const Progress: typeof Progress_2;
|
|
1315
1348
|
|
|
1316
1349
|
/** İlerleme çubuğu — ölçülebilir bekleme. */
|
|
1317
|
-
declare const Progress_2: ({ value, max, label, valueText, isValueVisible, tone, size, className, testId, }:
|
|
1350
|
+
declare const Progress_2: ({ value, max, label, valueText, isValueVisible, tone, size, className, testId, }: Props_39) => JSX.Element;
|
|
1318
1351
|
|
|
1319
1352
|
export declare const ProgressCircle: MemoExoticComponent<({ value, max, label, valueText, isValueVisible, tone, size, className, testId, }: CircleProps) => JSX.Element>;
|
|
1320
1353
|
|
|
1321
1354
|
export declare const PromptDialog: typeof PromptDialog_2;
|
|
1322
1355
|
|
|
1323
1356
|
/** Metin isteyen pencere — `window.prompt()` yerine. */
|
|
1324
|
-
declare const PromptDialog_2: FC<
|
|
1357
|
+
declare const PromptDialog_2: FC<Props_52>;
|
|
1325
1358
|
|
|
1326
1359
|
declare type Props = {
|
|
1327
1360
|
children: ReactNode;
|
|
@@ -1402,7 +1435,7 @@ declare type Props_13 = {
|
|
|
1402
1435
|
testId?: string;
|
|
1403
1436
|
};
|
|
1404
1437
|
|
|
1405
|
-
declare type Props_14 = Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
1438
|
+
declare type Props_14 = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> & {
|
|
1406
1439
|
/** Şifre gizliyken düğmenin erişilebilir adı. */
|
|
1407
1440
|
showLabel?: string;
|
|
1408
1441
|
/** Şifre görünürken düğmenin erişilebilir adı. */
|
|
@@ -1431,13 +1464,21 @@ declare type Props_15 = {
|
|
|
1431
1464
|
testId?: string;
|
|
1432
1465
|
};
|
|
1433
1466
|
|
|
1434
|
-
declare type Props_16 =
|
|
1467
|
+
declare type Props_16 = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> & {
|
|
1468
|
+
/** `date` (varsayılan) · `datetime-local` · `month` · `time`. */
|
|
1469
|
+
type?: 'date' | 'datetime-local' | 'month' | 'time';
|
|
1470
|
+
/** `sm` yoğun şeritler içindir (araç çubuğu, `Select size="sm"` yanında); varsayılan form ölçüsü `md`. */
|
|
1471
|
+
size?: 'sm' | 'md';
|
|
1472
|
+
testId?: string;
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
declare type Props_17 = BaseProps_2 & {
|
|
1435
1476
|
isRequired?: boolean;
|
|
1436
1477
|
/** Zorunluluk yıldızının ekran okuyucu karşılığı ("(zorunlu)"). */
|
|
1437
1478
|
requiredLabel?: string;
|
|
1438
1479
|
};
|
|
1439
1480
|
|
|
1440
|
-
declare type
|
|
1481
|
+
declare type Props_18 = {
|
|
1441
1482
|
files: UploadFile[];
|
|
1442
1483
|
/** Kullanıcı dosya seçtiğinde/bıraktığında çağrılır — DOĞRULANMIŞ liste. */
|
|
1443
1484
|
onSelect: (files: File[]) => void;
|
|
@@ -1465,7 +1506,7 @@ declare type Props_17 = {
|
|
|
1465
1506
|
testId?: string;
|
|
1466
1507
|
};
|
|
1467
1508
|
|
|
1468
|
-
declare type
|
|
1509
|
+
declare type Props_19 = {
|
|
1469
1510
|
children: ReactNode;
|
|
1470
1511
|
tone?: AlertTone;
|
|
1471
1512
|
title?: string;
|
|
@@ -1475,7 +1516,12 @@ declare type Props_18 = {
|
|
|
1475
1516
|
testId?: string;
|
|
1476
1517
|
};
|
|
1477
1518
|
|
|
1478
|
-
declare type
|
|
1519
|
+
declare type Props_2 = {
|
|
1520
|
+
/** Kullanıcının seçiminin tutulduğu `localStorage` anahtarı. */
|
|
1521
|
+
storageKey: string;
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
declare type Props_20 = {
|
|
1479
1525
|
/** Tam ad; baş harfler buradan üretilir ve her durumda okunan addır (`aria-label`). */
|
|
1480
1526
|
name: string;
|
|
1481
1527
|
/** Profil görseli. */
|
|
@@ -1491,12 +1537,7 @@ declare type Props_19 = {
|
|
|
1491
1537
|
testId?: string;
|
|
1492
1538
|
};
|
|
1493
1539
|
|
|
1494
|
-
declare type
|
|
1495
|
-
/** Kullanıcının seçiminin tutulduğu `localStorage` anahtarı. */
|
|
1496
|
-
storageKey: string;
|
|
1497
|
-
};
|
|
1498
|
-
|
|
1499
|
-
declare type Props_20 = {
|
|
1540
|
+
declare type Props_21 = {
|
|
1500
1541
|
children: ReactNode;
|
|
1501
1542
|
tone?: BadgeTone;
|
|
1502
1543
|
variant?: BadgeVariant;
|
|
@@ -1506,7 +1547,7 @@ declare type Props_20 = {
|
|
|
1506
1547
|
testId?: string;
|
|
1507
1548
|
};
|
|
1508
1549
|
|
|
1509
|
-
declare type
|
|
1550
|
+
declare type Props_22 = {
|
|
1510
1551
|
items: Crumb[];
|
|
1511
1552
|
/** Gezinme bölgesinin erişilebilir adı. */
|
|
1512
1553
|
label?: string;
|
|
@@ -1516,7 +1557,7 @@ declare type Props_21 = {
|
|
|
1516
1557
|
testId?: string;
|
|
1517
1558
|
};
|
|
1518
1559
|
|
|
1519
|
-
declare type
|
|
1560
|
+
declare type Props_23 = {
|
|
1520
1561
|
children: ReactNode;
|
|
1521
1562
|
/** Şeridin erişilebilir adı ("Öne çıkan ürünler"). */
|
|
1522
1563
|
label: string;
|
|
@@ -1536,7 +1577,7 @@ declare type Props_22 = {
|
|
|
1536
1577
|
testId?: string;
|
|
1537
1578
|
};
|
|
1538
1579
|
|
|
1539
|
-
declare type
|
|
1580
|
+
declare type Props_24 = {
|
|
1540
1581
|
/** Gösterilecek teknik kod (arıza kodu, parça numarası, şase). */
|
|
1541
1582
|
code: string;
|
|
1542
1583
|
/** Kopyalama düğmesi ekler. */
|
|
@@ -1562,12 +1603,12 @@ declare type Props_23 = {
|
|
|
1562
1603
|
testId?: string;
|
|
1563
1604
|
};
|
|
1564
1605
|
|
|
1565
|
-
declare type
|
|
1606
|
+
declare type Props_25 = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
|
|
1566
1607
|
/** Basılacak tuşlar, sırayla: `['Shift', 'Enter']`. Tek tuş da bir dizi: `['⌘K']`. */
|
|
1567
1608
|
keys: string[];
|
|
1568
1609
|
};
|
|
1569
1610
|
|
|
1570
|
-
declare type
|
|
1611
|
+
declare type Props_26 = {
|
|
1571
1612
|
tone?: StatusDotTone;
|
|
1572
1613
|
/**
|
|
1573
1614
|
* Durumun okunan adı ("Bağlı", "Çalışıyor"). ZORUNLU: nokta yalnızca renk ve renk tek başına
|
|
@@ -1580,7 +1621,7 @@ declare type Props_25 = {
|
|
|
1580
1621
|
testId?: string;
|
|
1581
1622
|
};
|
|
1582
1623
|
|
|
1583
|
-
declare type
|
|
1624
|
+
declare type Props_27 = {
|
|
1584
1625
|
/** Gösterilecek ve panoya kopyalanacak değer. */
|
|
1585
1626
|
value: string;
|
|
1586
1627
|
/** Kopyalama düğmesinin erişilebilir adı. */
|
|
@@ -1596,13 +1637,13 @@ declare type Props_26 = {
|
|
|
1596
1637
|
testId?: string;
|
|
1597
1638
|
};
|
|
1598
1639
|
|
|
1599
|
-
declare type
|
|
1640
|
+
declare type Props_28 = {
|
|
1600
1641
|
/** Ortada gösterilen metin ("veya"). */
|
|
1601
1642
|
label?: string;
|
|
1602
1643
|
className?: string;
|
|
1603
1644
|
};
|
|
1604
1645
|
|
|
1605
|
-
declare type
|
|
1646
|
+
declare type Props_29 = {
|
|
1606
1647
|
title: string;
|
|
1607
1648
|
description?: string;
|
|
1608
1649
|
icon?: ReactNode;
|
|
@@ -1617,7 +1658,18 @@ declare type Props_28 = {
|
|
|
1617
1658
|
testId?: string;
|
|
1618
1659
|
};
|
|
1619
1660
|
|
|
1620
|
-
declare type
|
|
1661
|
+
declare type Props_3 = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> & {
|
|
1662
|
+
href: string;
|
|
1663
|
+
children: ReactNode;
|
|
1664
|
+
/** Sonda ok gösterilir — "devam et" anlamı taşıyan bağlantılarda. */
|
|
1665
|
+
hasArrow?: boolean;
|
|
1666
|
+
tone?: 'brand' | 'muted';
|
|
1667
|
+
size?: 'sm' | 'md';
|
|
1668
|
+
/** Yönlendiriciye geçirilecek ek props. */
|
|
1669
|
+
linkProps?: HanuiLinkExtraProps;
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
declare type Props_30 = {
|
|
1621
1673
|
title: string;
|
|
1622
1674
|
/** Başlığın üstündeki küçük bağlam etiketi ("HESABIM", "KATEGORİ"). */
|
|
1623
1675
|
eyebrow?: string;
|
|
@@ -1637,18 +1689,7 @@ declare type Props_29 = {
|
|
|
1637
1689
|
testId?: string;
|
|
1638
1690
|
};
|
|
1639
1691
|
|
|
1640
|
-
declare type
|
|
1641
|
-
href: string;
|
|
1642
|
-
children: ReactNode;
|
|
1643
|
-
/** Sonda ok gösterilir — "devam et" anlamı taşıyan bağlantılarda. */
|
|
1644
|
-
hasArrow?: boolean;
|
|
1645
|
-
tone?: 'brand' | 'muted';
|
|
1646
|
-
size?: 'sm' | 'md';
|
|
1647
|
-
/** Yönlendiriciye geçirilecek ek props. */
|
|
1648
|
-
linkProps?: HanuiLinkExtraProps;
|
|
1649
|
-
};
|
|
1650
|
-
|
|
1651
|
-
declare type Props_30 = {
|
|
1692
|
+
declare type Props_31 = {
|
|
1652
1693
|
children: ReactNode;
|
|
1653
1694
|
/** Panel başlığı. */
|
|
1654
1695
|
title?: string;
|
|
@@ -1670,7 +1711,7 @@ declare type Props_30 = {
|
|
|
1670
1711
|
testId?: string;
|
|
1671
1712
|
};
|
|
1672
1713
|
|
|
1673
|
-
declare type
|
|
1714
|
+
declare type Props_32 = {
|
|
1674
1715
|
/** BİÇİMLENMİŞ tutar: "1.299,90". */
|
|
1675
1716
|
value: string;
|
|
1676
1717
|
/** Para birimi simgesi ya da kodu. */
|
|
@@ -1688,7 +1729,7 @@ declare type Props_31 = {
|
|
|
1688
1729
|
testId?: string;
|
|
1689
1730
|
};
|
|
1690
1731
|
|
|
1691
|
-
declare type
|
|
1732
|
+
declare type Props_33 = {
|
|
1692
1733
|
/** 0–5 arası puan. */
|
|
1693
1734
|
value: number;
|
|
1694
1735
|
/** Değerlendirme sayısı; verilirse yıldızların yanında gösterilir. */
|
|
@@ -1700,7 +1741,7 @@ declare type Props_32 = {
|
|
|
1700
1741
|
testId?: string;
|
|
1701
1742
|
};
|
|
1702
1743
|
|
|
1703
|
-
declare type
|
|
1744
|
+
declare type Props_34 = {
|
|
1704
1745
|
title: string;
|
|
1705
1746
|
description?: string;
|
|
1706
1747
|
/** Üstte gösterilen küçük büyük-harf etiket. */
|
|
@@ -1713,7 +1754,7 @@ declare type Props_33 = {
|
|
|
1713
1754
|
testId?: string;
|
|
1714
1755
|
};
|
|
1715
1756
|
|
|
1716
|
-
declare type
|
|
1757
|
+
declare type Props_35 = {
|
|
1717
1758
|
children: ReactNode;
|
|
1718
1759
|
/** Kaydırılabilir bölgenin erişilebilir adı. */
|
|
1719
1760
|
label: string;
|
|
@@ -1732,7 +1773,7 @@ declare type Props_34 = {
|
|
|
1732
1773
|
testId?: string;
|
|
1733
1774
|
};
|
|
1734
1775
|
|
|
1735
|
-
declare type
|
|
1776
|
+
declare type Props_36 = {
|
|
1736
1777
|
/** Genişlik: sayı px, dize doğrudan CSS değeri. */
|
|
1737
1778
|
width?: number | string;
|
|
1738
1779
|
height?: number | string;
|
|
@@ -1743,7 +1784,7 @@ declare type Props_35 = {
|
|
|
1743
1784
|
className?: string;
|
|
1744
1785
|
};
|
|
1745
1786
|
|
|
1746
|
-
declare type
|
|
1787
|
+
declare type Props_37 = {
|
|
1747
1788
|
/** Ölçülen şeyin adı ("Bugünkü sipariş"). */
|
|
1748
1789
|
label: string;
|
|
1749
1790
|
/** Değerin KENDİSİ — biçimlendirilmiş dize. */
|
|
@@ -1771,7 +1812,7 @@ declare type Props_36 = {
|
|
|
1771
1812
|
testId?: string;
|
|
1772
1813
|
};
|
|
1773
1814
|
|
|
1774
|
-
declare type
|
|
1815
|
+
declare type Props_38 = {
|
|
1775
1816
|
/** Kart başlığı — aynı zamanda bağlantı metni. */
|
|
1776
1817
|
title: string;
|
|
1777
1818
|
href: string;
|
|
@@ -1789,7 +1830,7 @@ declare type Props_37 = {
|
|
|
1789
1830
|
testId?: string;
|
|
1790
1831
|
};
|
|
1791
1832
|
|
|
1792
|
-
declare type
|
|
1833
|
+
declare type Props_39 = {
|
|
1793
1834
|
/**
|
|
1794
1835
|
* Tamamlanan miktar. `undefined` → BELİRSİZ ilerleme (sonu bilinmiyor); çubuk kendi kendine akar.
|
|
1795
1836
|
*/
|
|
@@ -1814,13 +1855,6 @@ declare type Props_38 = {
|
|
|
1814
1855
|
testId?: string;
|
|
1815
1856
|
};
|
|
1816
1857
|
|
|
1817
|
-
declare type Props_39 = {
|
|
1818
|
-
size?: 'sm' | 'md' | 'lg';
|
|
1819
|
-
/** Ekran okuyucuya okunacak metin; görsel olarak gizli. */
|
|
1820
|
-
label?: string;
|
|
1821
|
-
className?: string;
|
|
1822
|
-
};
|
|
1823
|
-
|
|
1824
1858
|
declare type Props_4 = {
|
|
1825
1859
|
/** Balonda gösterilecek açıklama. */
|
|
1826
1860
|
content: ReactNode;
|
|
@@ -1840,6 +1874,13 @@ declare type Props_4 = {
|
|
|
1840
1874
|
};
|
|
1841
1875
|
|
|
1842
1876
|
declare type Props_40 = {
|
|
1877
|
+
size?: 'sm' | 'md' | 'lg';
|
|
1878
|
+
/** Ekran okuyucuya okunacak metin; görsel olarak gizli. */
|
|
1879
|
+
label?: string;
|
|
1880
|
+
className?: string;
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1883
|
+
declare type Props_41 = {
|
|
1843
1884
|
items: AccordionItem[];
|
|
1844
1885
|
/** Aynı anda YALNIZCA BİR bölüm açık kalır. */
|
|
1845
1886
|
isSingle?: boolean;
|
|
@@ -1852,7 +1893,7 @@ declare type Props_40 = {
|
|
|
1852
1893
|
testId?: string;
|
|
1853
1894
|
};
|
|
1854
1895
|
|
|
1855
|
-
declare type
|
|
1896
|
+
declare type Props_42 = {
|
|
1856
1897
|
/** Başlık satırı — tıklanabilir olan bu. */
|
|
1857
1898
|
summary: ReactNode;
|
|
1858
1899
|
/** Başlığın sağında duran ikincil bilgi (süre, sayaç, rozet). */
|
|
@@ -1874,7 +1915,7 @@ declare type Props_41 = {
|
|
|
1874
1915
|
testId?: string;
|
|
1875
1916
|
};
|
|
1876
1917
|
|
|
1877
|
-
declare type
|
|
1918
|
+
declare type Props_43 = {
|
|
1878
1919
|
steps: StepItem[];
|
|
1879
1920
|
/** Bulunulan adımın DİZİNİ (0 tabanlı). */
|
|
1880
1921
|
currentIndex?: number;
|
|
@@ -1887,7 +1928,7 @@ declare type Props_42 = {
|
|
|
1887
1928
|
testId?: string;
|
|
1888
1929
|
};
|
|
1889
1930
|
|
|
1890
|
-
declare type
|
|
1931
|
+
declare type Props_44 = {
|
|
1891
1932
|
items: TabItem[];
|
|
1892
1933
|
/** Kontrolsüz kullanımda açılışta seçili sekme. */
|
|
1893
1934
|
defaultTabId?: string;
|
|
@@ -1902,7 +1943,7 @@ declare type Props_43 = {
|
|
|
1902
1943
|
testId?: string;
|
|
1903
1944
|
};
|
|
1904
1945
|
|
|
1905
|
-
declare type
|
|
1946
|
+
declare type Props_45 = {
|
|
1906
1947
|
label: string;
|
|
1907
1948
|
/** İkon DIŞARIDAN gelir: hangi ikonun hangi konuya ait olduğu uygulamanın bilgisi. */
|
|
1908
1949
|
icon: ReactNode;
|
|
@@ -1916,7 +1957,7 @@ declare type Props_44 = {
|
|
|
1916
1957
|
testId?: string;
|
|
1917
1958
|
};
|
|
1918
1959
|
|
|
1919
|
-
declare type
|
|
1960
|
+
declare type Props_46 = {
|
|
1920
1961
|
events: TimelineEvent[];
|
|
1921
1962
|
/** Akışın erişilebilir adı ("Sipariş geçmişi"). */
|
|
1922
1963
|
label: string;
|
|
@@ -1924,7 +1965,7 @@ declare type Props_45 = {
|
|
|
1924
1965
|
testId?: string;
|
|
1925
1966
|
};
|
|
1926
1967
|
|
|
1927
|
-
declare type
|
|
1968
|
+
declare type Props_47 = {
|
|
1928
1969
|
title: string;
|
|
1929
1970
|
/** Kapatma düğmesinin erişilebilir adı. */
|
|
1930
1971
|
closeLabel?: string;
|
|
@@ -1943,7 +1984,7 @@ declare type Props_46 = {
|
|
|
1943
1984
|
testId?: string;
|
|
1944
1985
|
};
|
|
1945
1986
|
|
|
1946
|
-
declare type
|
|
1987
|
+
declare type Props_48 = {
|
|
1947
1988
|
isOpen: boolean;
|
|
1948
1989
|
onClose: () => void;
|
|
1949
1990
|
title: string;
|
|
@@ -1966,7 +2007,7 @@ declare type Props_47 = {
|
|
|
1966
2007
|
testId?: string;
|
|
1967
2008
|
};
|
|
1968
2009
|
|
|
1969
|
-
declare type
|
|
2010
|
+
declare type Props_49 = {
|
|
1970
2011
|
isOpen: boolean;
|
|
1971
2012
|
onClose: () => void;
|
|
1972
2013
|
items: CommandItem[];
|
|
@@ -1987,7 +2028,19 @@ declare type Props_48 = {
|
|
|
1987
2028
|
testId?: string;
|
|
1988
2029
|
};
|
|
1989
2030
|
|
|
1990
|
-
declare type
|
|
2031
|
+
declare type Props_5 = {
|
|
2032
|
+
/** Tetikleyici. */
|
|
2033
|
+
trigger: ReactElement;
|
|
2034
|
+
items: MenuItem[];
|
|
2035
|
+
/** Menünün erişilebilir adı ("Satır eylemleri"). */
|
|
2036
|
+
label: string;
|
|
2037
|
+
side?: PositionSide;
|
|
2038
|
+
align?: PositionAlign;
|
|
2039
|
+
className?: string;
|
|
2040
|
+
testId?: string;
|
|
2041
|
+
};
|
|
2042
|
+
|
|
2043
|
+
declare type Props_50 = {
|
|
1991
2044
|
isOpen: boolean;
|
|
1992
2045
|
onClose: () => void;
|
|
1993
2046
|
/**
|
|
@@ -2013,19 +2066,7 @@ declare type Props_49 = {
|
|
|
2013
2066
|
children?: ReactNode;
|
|
2014
2067
|
};
|
|
2015
2068
|
|
|
2016
|
-
declare type
|
|
2017
|
-
/** Tetikleyici. */
|
|
2018
|
-
trigger: ReactElement;
|
|
2019
|
-
items: MenuItem[];
|
|
2020
|
-
/** Menünün erişilebilir adı ("Satır eylemleri"). */
|
|
2021
|
-
label: string;
|
|
2022
|
-
side?: PositionSide;
|
|
2023
|
-
align?: PositionAlign;
|
|
2024
|
-
className?: string;
|
|
2025
|
-
testId?: string;
|
|
2026
|
-
};
|
|
2027
|
-
|
|
2028
|
-
declare type Props_50 = {
|
|
2069
|
+
declare type Props_51 = {
|
|
2029
2070
|
isOpen: boolean;
|
|
2030
2071
|
onClose: () => void;
|
|
2031
2072
|
title: string;
|
|
@@ -2043,14 +2084,14 @@ declare type Props_50 = {
|
|
|
2043
2084
|
testId?: string;
|
|
2044
2085
|
};
|
|
2045
2086
|
|
|
2046
|
-
declare type
|
|
2087
|
+
declare type Props_52 = BaseProps_3 & {
|
|
2047
2088
|
/** Boş (yalnızca boşluk dahil) değer gönderilemez. */
|
|
2048
2089
|
isRequired?: boolean;
|
|
2049
2090
|
/** Zorunluluk yıldızının ekran okuyucu karşılığı ("(zorunlu)"). */
|
|
2050
2091
|
requiredLabel?: string;
|
|
2051
2092
|
};
|
|
2052
2093
|
|
|
2053
|
-
declare type
|
|
2094
|
+
declare type Props_53 = TableHTMLAttributes<HTMLTableElement> & Partial<{
|
|
2054
2095
|
/** Hücre dolgusu. */
|
|
2055
2096
|
density: 'compact' | 'regular' | 'spacious';
|
|
2056
2097
|
/** Başlık satırı `$surface-2` zeminle kutunun içinde YAPIŞKAN kalır. */
|
|
@@ -2059,7 +2100,7 @@ declare type Props_52 = TableHTMLAttributes<HTMLTableElement> & Partial<{
|
|
|
2059
2100
|
hasRowHover: boolean;
|
|
2060
2101
|
}>;
|
|
2061
2102
|
|
|
2062
|
-
declare type
|
|
2103
|
+
declare type Props_54 = {
|
|
2063
2104
|
columns: DataTableColumn[];
|
|
2064
2105
|
/**
|
|
2065
2106
|
* Tablonun erişilebilir adı ("Bekleyen siparişler").
|
|
@@ -2091,7 +2132,7 @@ declare type Props_53 = {
|
|
|
2091
2132
|
testId?: string;
|
|
2092
2133
|
};
|
|
2093
2134
|
|
|
2094
|
-
declare type
|
|
2135
|
+
declare type Props_55 = {
|
|
2095
2136
|
/**
|
|
2096
2137
|
* Filtreler uygulanır. `preventDefault` bileşenin işi; çağıran yalnızca durumunu günceller
|
|
2097
2138
|
* (sayfayı 1'e almak + aramayı uygulamak gibi).
|
|
@@ -2107,7 +2148,7 @@ declare type Props_54 = {
|
|
|
2107
2148
|
testId?: string;
|
|
2108
2149
|
};
|
|
2109
2150
|
|
|
2110
|
-
declare type
|
|
2151
|
+
declare type Props_56 = LinkProps | ButtonProps;
|
|
2111
2152
|
|
|
2112
2153
|
declare type Props_6 = {
|
|
2113
2154
|
/** Tetikleyici. */
|
|
@@ -2205,6 +2246,8 @@ declare type RangeProps = {
|
|
|
2205
2246
|
max?: string;
|
|
2206
2247
|
/** Seçilen aralığın okunur özetini gösterir. */
|
|
2207
2248
|
isSummaryVisible?: boolean;
|
|
2249
|
+
/** İki alanın ölçüsü — `DateField.size`. */
|
|
2250
|
+
size?: Props_16['size'];
|
|
2208
2251
|
isDisabled?: boolean;
|
|
2209
2252
|
className?: string;
|
|
2210
2253
|
testId?: string;
|
|
@@ -2220,7 +2263,7 @@ export declare type RangeValue = [number, number];
|
|
|
2220
2263
|
export declare const Rating: typeof Rating_2;
|
|
2221
2264
|
|
|
2222
2265
|
/** Yıldız puanı — salt gösterim. */
|
|
2223
|
-
declare const Rating_2: FC<
|
|
2266
|
+
declare const Rating_2: FC<Props_33>;
|
|
2224
2267
|
|
|
2225
2268
|
export declare const RatingInput: typeof RatingInput_2;
|
|
2226
2269
|
|
|
@@ -2242,7 +2285,7 @@ declare type RowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
|
2242
2285
|
export declare const ScrollArea: typeof ScrollArea_2;
|
|
2243
2286
|
|
|
2244
2287
|
/** Kaydırma kutusu — klavyeyle erişilebilir kaydırma bölgesi. */
|
|
2245
|
-
declare const ScrollArea_2: FC<
|
|
2288
|
+
declare const ScrollArea_2: FC<Props_35>;
|
|
2246
2289
|
|
|
2247
2290
|
declare type ScrollerProps = HTMLAttributes<HTMLDivElement> & {
|
|
2248
2291
|
/** Çerçeve (hairline + yarıçap + yüzey). */
|
|
@@ -2258,7 +2301,7 @@ declare type ScrollerProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
2258
2301
|
export declare const SectionHeader: typeof SectionHeader_2;
|
|
2259
2302
|
|
|
2260
2303
|
/** Bölüm başlığı. */
|
|
2261
|
-
declare const SectionHeader_2: FC<
|
|
2304
|
+
declare const SectionHeader_2: FC<Props_34>;
|
|
2262
2305
|
|
|
2263
2306
|
export declare const SegmentedControl: typeof SegmentedControl_2;
|
|
2264
2307
|
|
|
@@ -2300,7 +2343,7 @@ declare type SingleProps<T extends string> = BaseProps<T> & {
|
|
|
2300
2343
|
export declare const Skeleton: typeof Skeleton_2;
|
|
2301
2344
|
|
|
2302
2345
|
/** Yükleme iskeleti. */
|
|
2303
|
-
declare const Skeleton_2: FC<
|
|
2346
|
+
declare const Skeleton_2: FC<Props_36>;
|
|
2304
2347
|
|
|
2305
2348
|
export declare const SkeletonCard: NamedExoticComponent<ShapeProps>;
|
|
2306
2349
|
|
|
@@ -2313,12 +2356,12 @@ columns?: number;
|
|
|
2313
2356
|
export declare const Spinner: typeof Spinner_2;
|
|
2314
2357
|
|
|
2315
2358
|
/** Yükleme göstergesi. */
|
|
2316
|
-
declare const Spinner_2: FC<
|
|
2359
|
+
declare const Spinner_2: FC<Props_40>;
|
|
2317
2360
|
|
|
2318
2361
|
export declare const Stat: typeof Stat_2;
|
|
2319
2362
|
|
|
2320
2363
|
/** Ölçüm kutusu (KPI). */
|
|
2321
|
-
declare const Stat_2: FC<
|
|
2364
|
+
declare const Stat_2: FC<Props_37>;
|
|
2322
2365
|
|
|
2323
2366
|
/** Değişimin yönü. `flat` "değişmedi" — yokluk DEĞİL. */
|
|
2324
2367
|
export declare type StatTrend = 'up' | 'down' | 'flat';
|
|
@@ -2331,7 +2374,7 @@ export declare const StatusDot: typeof StatusDot_2;
|
|
|
2331
2374
|
* ⚠ Marka tonu YOK (`brand`): nokta bir durum taşır, marka yüzeyi değil. Süren iş `neutral` +
|
|
2332
2375
|
* `isPulsing` ile anlatılır; yeşil yalnızca anlamsal başarıda (`success`).
|
|
2333
2376
|
*/
|
|
2334
|
-
declare const StatusDot_2: FC<
|
|
2377
|
+
declare const StatusDot_2: FC<Props_26>;
|
|
2335
2378
|
|
|
2336
2379
|
export declare type StatusDotTone = 'neutral' | 'success' | 'warning' | 'danger';
|
|
2337
2380
|
|
|
@@ -2345,7 +2388,7 @@ export declare type StepItem = {
|
|
|
2345
2388
|
export declare const Steps: typeof Steps_2;
|
|
2346
2389
|
|
|
2347
2390
|
/** Adım göstergesi (stepper) — çok adımlı akışta NEREDE olunduğu. */
|
|
2348
|
-
declare const Steps_2: FC<
|
|
2391
|
+
declare const Steps_2: FC<Props_43>;
|
|
2349
2392
|
|
|
2350
2393
|
declare type StickToBottom = {
|
|
2351
2394
|
/** Kutu sonda mı (pay dahilinde). `false` iken "en yeniye in" düğmesi gösterilir. */
|
|
@@ -2357,7 +2400,7 @@ declare type StickToBottom = {
|
|
|
2357
2400
|
export declare const SummaryCard: typeof SummaryCard_2;
|
|
2358
2401
|
|
|
2359
2402
|
/** Özet kartı — başlık + kısa açıklama + meta satırı taşıyan BAĞLANTILI kart. */
|
|
2360
|
-
declare const SummaryCard_2: FC<
|
|
2403
|
+
declare const SummaryCard_2: FC<Props_38>;
|
|
2361
2404
|
|
|
2362
2405
|
export declare type SummaryCardHeadingLevel = 2 | 3 | 4;
|
|
2363
2406
|
|
|
@@ -2389,7 +2432,7 @@ export declare type TabItem = {
|
|
|
2389
2432
|
export declare const Table: typeof Table_2;
|
|
2390
2433
|
|
|
2391
2434
|
/** Temel tablo — hairline satır ayrımı, `$surface-2` başlık, yoğunluk ölçeği. */
|
|
2392
|
-
declare const Table_2: FC<
|
|
2435
|
+
declare const Table_2: FC<Props_53>;
|
|
2393
2436
|
|
|
2394
2437
|
export declare const TableCheckbox: typeof TableCheckbox_2;
|
|
2395
2438
|
|
|
@@ -2419,7 +2462,7 @@ export declare const TABLET_PORTRAIT_BREAKPOINT = 768;
|
|
|
2419
2462
|
export declare const Tabs: typeof Tabs_2;
|
|
2420
2463
|
|
|
2421
2464
|
/** Sekmeler. */
|
|
2422
|
-
declare const Tabs_2: FC<
|
|
2465
|
+
declare const Tabs_2: FC<Props_44>;
|
|
2423
2466
|
|
|
2424
2467
|
export declare const TagInput: typeof TagInput_2;
|
|
2425
2468
|
|
|
@@ -2458,12 +2501,12 @@ export declare const THEME_ATTRIBUTE = "data-hanui-theme";
|
|
|
2458
2501
|
export declare const Tile: typeof Tile_2;
|
|
2459
2502
|
|
|
2460
2503
|
/** Karo — ikon madalyonu + etiket. */
|
|
2461
|
-
declare const Tile_2: ({ label, icon, href, meta, isActive, linkProps, className, testId }:
|
|
2504
|
+
declare const Tile_2: ({ label, icon, href, meta, isActive, linkProps, className, testId }: Props_45) => JSX.Element;
|
|
2462
2505
|
|
|
2463
2506
|
export declare const Timeline: typeof Timeline_2;
|
|
2464
2507
|
|
|
2465
2508
|
/** Zaman çizelgesi — sipariş durumu, işlem geçmişi. */
|
|
2466
|
-
declare const Timeline_2: FC<
|
|
2509
|
+
declare const Timeline_2: FC<Props_46>;
|
|
2467
2510
|
|
|
2468
2511
|
export declare type TimelineEvent = {
|
|
2469
2512
|
id: string;
|
|
@@ -2598,7 +2641,9 @@ export declare const useListboxNavigation: <T extends HTMLElement = HTMLElement>
|
|
|
2598
2641
|
* temeli.
|
|
2599
2642
|
*/
|
|
2600
2643
|
export declare const usePositioning: (anchorRef: {
|
|
2601
|
-
current:
|
|
2644
|
+
current: {
|
|
2645
|
+
getBoundingClientRect: () => PositioningRect;
|
|
2646
|
+
} | null;
|
|
2602
2647
|
}, surfaceRef: {
|
|
2603
2648
|
current: HTMLElement | null;
|
|
2604
2649
|
}, { side, align, offset, padding, isOpen }: PositioningOptions) => PositioningState;
|