@ahmetilhn/hanui 3.2.2 → 3.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/README.md +2 -2
- package/build/index.cjs +4 -4
- package/build/index.cjs.map +1 -1
- package/build/index.d.ts +167 -97
- package/build/index.js +2475 -2395
- package/build/index.js.map +1 -1
- package/build/styles.css +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const ABOVE_TABLET_MEDIA_QUERY = "(min-width: 1025px)";
|
|
|
27
27
|
export declare const Accordion: typeof Accordion_2;
|
|
28
28
|
|
|
29
29
|
/** Akordeon — katlanabilir bölümler. */
|
|
30
|
-
declare const Accordion_2: FC<
|
|
30
|
+
declare const Accordion_2: FC<Props_37>;
|
|
31
31
|
|
|
32
32
|
export declare type AccordionItem = {
|
|
33
33
|
id: string;
|
|
@@ -157,7 +157,7 @@ declare type BaseProps_4 = {
|
|
|
157
157
|
testId?: string;
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
export declare const BottomSheet: MemoExoticComponent<({ title, closeLabel, onClose, children, toolbar, footer, closeAbove, className, testId, }:
|
|
160
|
+
export declare const BottomSheet: MemoExoticComponent<({ title, closeLabel, onClose, children, toolbar, footer, closeAbove, className, testId, }: Props_42) => ReactPortal | null>;
|
|
161
161
|
|
|
162
162
|
export declare const Breadcrumb: typeof Breadcrumb_2;
|
|
163
163
|
|
|
@@ -358,6 +358,21 @@ declare type CircleProps = {
|
|
|
358
358
|
testId?: string;
|
|
359
359
|
};
|
|
360
360
|
|
|
361
|
+
export declare const CodeBadge: typeof CodeBadge_2;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Teknik kod rozeti — monospace kod, marka zeminli çerçeve.
|
|
365
|
+
*
|
|
366
|
+
* `CopyField`ten farkı ÇERÇEVEDİR: CopyField satır içi çıplak değer, bu
|
|
367
|
+
* bileşen sayfanın kahramanı olan kod (arıza kodu başlığı gibi). Pano
|
|
368
|
+
* mantığı ikisinde de `useCopyFeedback` — ayrışamazlar. Etiketler de
|
|
369
|
+
* `labels.copyField` sözlüğünü paylaşır: aynı eylem için ikinci bir sözlük
|
|
370
|
+
* anahtarı, iki ayrı çeviri kaynağı olurdu.
|
|
371
|
+
*/
|
|
372
|
+
declare const CodeBadge_2: FC<Props_22>;
|
|
373
|
+
|
|
374
|
+
export declare type CodeBadgeSize = 'sm' | 'md' | 'lg';
|
|
375
|
+
|
|
361
376
|
export declare const Combobox: typeof Combobox_2;
|
|
362
377
|
|
|
363
378
|
/** Aranabilir seçim kutusu. */
|
|
@@ -431,7 +446,7 @@ export declare type CommandItem = {
|
|
|
431
446
|
export declare const CommandPalette: typeof CommandPalette_2;
|
|
432
447
|
|
|
433
448
|
/** Komut paleti — klavyeyle her şeye ulaşma. */
|
|
434
|
-
declare const CommandPalette_2: ({ isOpen, onClose, items, label, searchPlaceholder, emptyMessage, className, testId, }:
|
|
449
|
+
declare const CommandPalette_2: ({ isOpen, onClose, items, label, searchPlaceholder, emptyMessage, className, testId, }: Props_44) => JSX.Element;
|
|
435
450
|
|
|
436
451
|
/** Her bileşenin kabul ettiği ortak kanca noktaları. */
|
|
437
452
|
export declare type CommonElementProps = Partial<{
|
|
@@ -470,14 +485,17 @@ export declare const ConfirmDialog: typeof ConfirmDialog_2;
|
|
|
470
485
|
* @example
|
|
471
486
|
* const [target, setTarget] = useState<Address | null>(null);
|
|
472
487
|
*/
|
|
473
|
-
declare const ConfirmDialog_2: FC<
|
|
488
|
+
declare const ConfirmDialog_2: FC<Props_45>;
|
|
474
489
|
|
|
475
490
|
export declare type ConfirmKind = 'destructive' | 'warning' | 'neutral';
|
|
476
491
|
|
|
477
492
|
export declare const CopyField: typeof CopyField_2;
|
|
478
493
|
|
|
479
|
-
/**
|
|
480
|
-
|
|
494
|
+
/**
|
|
495
|
+
* Kopyalanabilir teknik değer — <strong>tek dokunuşla panoya</strong>.
|
|
496
|
+
* Pano mantığı `useCopyFeedback`te, `CodeBadge` ile ortak.
|
|
497
|
+
*/
|
|
498
|
+
declare const CopyField_2: FC<Props_23>;
|
|
481
499
|
|
|
482
500
|
export declare type Crumb = {
|
|
483
501
|
label: string;
|
|
@@ -491,7 +509,7 @@ export declare const DARK_THEME: Record<keyof typeof LIGHT_THEME, string>;
|
|
|
491
509
|
export declare const DataTable: typeof DataTable_2;
|
|
492
510
|
|
|
493
511
|
/** Operasyon veri tablosu — durum satırlı tablo sözleşmesi. */
|
|
494
|
-
declare const DataTable_2: FC<
|
|
512
|
+
declare const DataTable_2: FC<Props_49>;
|
|
495
513
|
|
|
496
514
|
export declare type DataTableColumn = {
|
|
497
515
|
/** Sütun kimliği (React key). */
|
|
@@ -613,17 +631,17 @@ declare type DirectoryRowProps = {
|
|
|
613
631
|
export declare const Divider: typeof Divider_2;
|
|
614
632
|
|
|
615
633
|
/** Ayırıcı çizgi. */
|
|
616
|
-
declare const Divider_2: FC<
|
|
634
|
+
declare const Divider_2: FC<Props_24>;
|
|
617
635
|
|
|
618
636
|
export declare const Drawer: typeof Drawer_2;
|
|
619
637
|
|
|
620
638
|
/** Çekmece (drawer) — kenardan açılan kipsel panel. */
|
|
621
|
-
declare const Drawer_2: ({ isOpen, onClose, title, closeLabel, children, side, size, footer, toolbar, className, testId, }:
|
|
639
|
+
declare const Drawer_2: ({ isOpen, onClose, title, closeLabel, children, side, size, footer, toolbar, className, testId, }: Props_46) => JSX.Element;
|
|
622
640
|
|
|
623
641
|
export declare const EmptyState: typeof EmptyState_2;
|
|
624
642
|
|
|
625
643
|
/** Boş durum. */
|
|
626
|
-
declare const EmptyState_2: FC<
|
|
644
|
+
declare const EmptyState_2: FC<Props_25>;
|
|
627
645
|
|
|
628
646
|
export declare const Field: typeof Field_2;
|
|
629
647
|
|
|
@@ -667,7 +685,7 @@ declare const FileUpload_2: ({ files, onSelect, onRemove, label, hint, accept, i
|
|
|
667
685
|
export declare const FilterBar: typeof FilterBar_2;
|
|
668
686
|
|
|
669
687
|
/** Filtre şeridi. */
|
|
670
|
-
declare const FilterBar_2: FC<
|
|
688
|
+
declare const FilterBar_2: FC<Props_50>;
|
|
671
689
|
|
|
672
690
|
/**
|
|
673
691
|
* Şerit içindeki tek alanın genişlik sözleşmesi. İçine `Field` + girdi ya da
|
|
@@ -1214,7 +1232,7 @@ export declare const MOBILE_BREAKPOINT = 640;
|
|
|
1214
1232
|
export declare const Modal: typeof Modal_2;
|
|
1215
1233
|
|
|
1216
1234
|
/** Kip pencere (modal). */
|
|
1217
|
-
declare const Modal_2: ({ isOpen, onClose, title, closeLabel, children, description, footer, icon, tone, size, isDismissable, className, testId, }:
|
|
1235
|
+
declare const Modal_2: ({ isOpen, onClose, title, closeLabel, children, description, footer, icon, tone, size, isDismissable, className, testId, }: Props_43) => JSX.Element;
|
|
1218
1236
|
|
|
1219
1237
|
export declare type ModalTone = 'neutral' | 'danger' | 'warning' | 'success' | 'info';
|
|
1220
1238
|
|
|
@@ -1230,12 +1248,12 @@ export declare const normalizeSearchTerm: (value: string) => string;
|
|
|
1230
1248
|
export declare const PageHeader: typeof PageHeader_2;
|
|
1231
1249
|
|
|
1232
1250
|
/** Sayfa başlığı — her ekranın aynı giriş bloğu. */
|
|
1233
|
-
declare const PageHeader_2: FC<
|
|
1251
|
+
declare const PageHeader_2: FC<Props_26>;
|
|
1234
1252
|
|
|
1235
1253
|
export declare const Pagination: typeof Pagination_2;
|
|
1236
1254
|
|
|
1237
1255
|
/** Sayfalama. */
|
|
1238
|
-
declare const Pagination_2: FC<
|
|
1256
|
+
declare const Pagination_2: FC<Props_51>;
|
|
1239
1257
|
|
|
1240
1258
|
export declare const Panel: typeof Panel_2;
|
|
1241
1259
|
|
|
@@ -1247,7 +1265,7 @@ export declare const Panel: typeof Panel_2;
|
|
|
1247
1265
|
* <PanelForm>…alanlar…</PanelForm>
|
|
1248
1266
|
* </Panel>
|
|
1249
1267
|
*/
|
|
1250
|
-
declare const Panel_2: FC<
|
|
1268
|
+
declare const Panel_2: FC<Props_27>;
|
|
1251
1269
|
|
|
1252
1270
|
/** Panel içindeki form ızgarası. */
|
|
1253
1271
|
export declare const PanelForm: FC<PanelFormProps>;
|
|
@@ -1316,19 +1334,19 @@ export declare type PositionSide = 'top' | 'bottom' | 'left' | 'right';
|
|
|
1316
1334
|
export declare const Price: typeof Price_2;
|
|
1317
1335
|
|
|
1318
1336
|
/** Tutar gösterimi. */
|
|
1319
|
-
declare const Price_2: FC<
|
|
1337
|
+
declare const Price_2: FC<Props_28>;
|
|
1320
1338
|
|
|
1321
1339
|
export declare const Progress: typeof Progress_2;
|
|
1322
1340
|
|
|
1323
1341
|
/** İlerleme çubuğu — <strong>ölçülebilir</strong> bekleme. */
|
|
1324
|
-
declare const Progress_2: ({ value, max, label, valueText, isValueVisible, tone, size, className, testId, }:
|
|
1342
|
+
declare const Progress_2: ({ value, max, label, valueText, isValueVisible, tone, size, className, testId, }: Props_35) => JSX.Element;
|
|
1325
1343
|
|
|
1326
1344
|
export declare const ProgressCircle: MemoExoticComponent<({ value, max, label, valueText, isValueVisible, tone, size, className, testId, }: CircleProps) => JSX.Element>;
|
|
1327
1345
|
|
|
1328
1346
|
export declare const PromptDialog: typeof PromptDialog_2;
|
|
1329
1347
|
|
|
1330
1348
|
/** Metin isteyen pencere — `window.prompt()` yerine. */
|
|
1331
|
-
declare const PromptDialog_2: FC<
|
|
1349
|
+
declare const PromptDialog_2: FC<Props_47>;
|
|
1332
1350
|
|
|
1333
1351
|
declare type Props = {
|
|
1334
1352
|
children: ReactNode;
|
|
@@ -1556,6 +1574,22 @@ declare type Props_21 = {
|
|
|
1556
1574
|
};
|
|
1557
1575
|
|
|
1558
1576
|
declare type Props_22 = {
|
|
1577
|
+
/** Gösterilecek teknik kod (arıza kodu, parça numarası, şase). */
|
|
1578
|
+
code: string;
|
|
1579
|
+
/** Kopyalama düğmesi ekler. */
|
|
1580
|
+
isCopyable?: boolean;
|
|
1581
|
+
/** Kopyalama düğmesinin erişilebilir adı. Verilmezse `labels.copyField.copy(code)`. */
|
|
1582
|
+
copyLabel?: string;
|
|
1583
|
+
/** Kopyalandıktan sonraki ad. Verilmezse `labels.copyField.copied(code)`. */
|
|
1584
|
+
copiedLabel?: string;
|
|
1585
|
+
/** `aria-live` ile duyurulan onay cümlesi. Verilmezse `labels.copyField.announcement`. */
|
|
1586
|
+
copiedAnnouncement?: string;
|
|
1587
|
+
size?: CodeBadgeSize;
|
|
1588
|
+
className?: string;
|
|
1589
|
+
testId?: string;
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
declare type Props_23 = {
|
|
1559
1593
|
/** Gösterilecek ve panoya kopyalanacak değer. */
|
|
1560
1594
|
value: string;
|
|
1561
1595
|
/** Kopyalama düğmesinin erişilebilir adı. */
|
|
@@ -1571,13 +1605,13 @@ declare type Props_22 = {
|
|
|
1571
1605
|
testId?: string;
|
|
1572
1606
|
};
|
|
1573
1607
|
|
|
1574
|
-
declare type
|
|
1608
|
+
declare type Props_24 = {
|
|
1575
1609
|
/** Ortada gösterilen metin ("veya"). */
|
|
1576
1610
|
label?: string;
|
|
1577
1611
|
className?: string;
|
|
1578
1612
|
};
|
|
1579
1613
|
|
|
1580
|
-
declare type
|
|
1614
|
+
declare type Props_25 = {
|
|
1581
1615
|
title: string;
|
|
1582
1616
|
description?: string;
|
|
1583
1617
|
icon?: ReactNode;
|
|
@@ -1592,7 +1626,7 @@ declare type Props_24 = {
|
|
|
1592
1626
|
testId?: string;
|
|
1593
1627
|
};
|
|
1594
1628
|
|
|
1595
|
-
declare type
|
|
1629
|
+
declare type Props_26 = {
|
|
1596
1630
|
title: string;
|
|
1597
1631
|
/** Başlığın üstündeki küçük bağlam etiketi ("HESABIM", "KATEGORİ"). */
|
|
1598
1632
|
eyebrow?: string;
|
|
@@ -1615,7 +1649,7 @@ declare type Props_25 = {
|
|
|
1615
1649
|
testId?: string;
|
|
1616
1650
|
};
|
|
1617
1651
|
|
|
1618
|
-
declare type
|
|
1652
|
+
declare type Props_27 = {
|
|
1619
1653
|
children: ReactNode;
|
|
1620
1654
|
/** Panel başlığı. Verilmezse başlık şeridi hiç çizilmez. */
|
|
1621
1655
|
title?: string;
|
|
@@ -1637,7 +1671,7 @@ declare type Props_26 = {
|
|
|
1637
1671
|
testId?: string;
|
|
1638
1672
|
};
|
|
1639
1673
|
|
|
1640
|
-
declare type
|
|
1674
|
+
declare type Props_28 = {
|
|
1641
1675
|
/** BİÇİMLENMİŞ tutar: "1.299,90". Bileşen hesap yapmaz. */
|
|
1642
1676
|
value: string;
|
|
1643
1677
|
/** Para birimi simgesi ya da kodu. Verilmezse `labels.currency`. */
|
|
@@ -1655,7 +1689,7 @@ declare type Props_27 = {
|
|
|
1655
1689
|
testId?: string;
|
|
1656
1690
|
};
|
|
1657
1691
|
|
|
1658
|
-
declare type
|
|
1692
|
+
declare type Props_29 = {
|
|
1659
1693
|
/** 0–5 arası puan. Yarım yıldız desteklenir. */
|
|
1660
1694
|
value: number;
|
|
1661
1695
|
/** Değerlendirme sayısı; verilirse yıldızların yanında gösterilir. */
|
|
@@ -1667,19 +1701,6 @@ declare type Props_28 = {
|
|
|
1667
1701
|
testId?: string;
|
|
1668
1702
|
};
|
|
1669
1703
|
|
|
1670
|
-
declare type Props_29 = {
|
|
1671
|
-
title: string;
|
|
1672
|
-
description?: string;
|
|
1673
|
-
/** Üstte gösterilen küçük büyük-harf etiket. */
|
|
1674
|
-
overline?: string;
|
|
1675
|
-
/** Sağda gösterilen eylem ("Tümünü gör"). */
|
|
1676
|
-
action?: ReactNode;
|
|
1677
|
-
as?: 'h1' | 'h2' | 'h3';
|
|
1678
|
-
size?: 'sm' | 'md' | 'lg';
|
|
1679
|
-
className?: string;
|
|
1680
|
-
testId?: string;
|
|
1681
|
-
};
|
|
1682
|
-
|
|
1683
1704
|
declare type Props_3 = {
|
|
1684
1705
|
/** Balonda gösterilecek açıklama. */
|
|
1685
1706
|
content: ReactNode;
|
|
@@ -1708,6 +1729,19 @@ declare type Props_3 = {
|
|
|
1708
1729
|
};
|
|
1709
1730
|
|
|
1710
1731
|
declare type Props_30 = {
|
|
1732
|
+
title: string;
|
|
1733
|
+
description?: string;
|
|
1734
|
+
/** Üstte gösterilen küçük büyük-harf etiket. */
|
|
1735
|
+
overline?: string;
|
|
1736
|
+
/** Sağda gösterilen eylem ("Tümünü gör"). */
|
|
1737
|
+
action?: ReactNode;
|
|
1738
|
+
as?: 'h1' | 'h2' | 'h3';
|
|
1739
|
+
size?: 'sm' | 'md' | 'lg';
|
|
1740
|
+
className?: string;
|
|
1741
|
+
testId?: string;
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
declare type Props_31 = {
|
|
1711
1745
|
children: ReactNode;
|
|
1712
1746
|
/** Kaydırılabilir bölgenin erişilebilir adı. ZORUNLU. */
|
|
1713
1747
|
label: string;
|
|
@@ -1721,7 +1755,7 @@ declare type Props_30 = {
|
|
|
1721
1755
|
testId?: string;
|
|
1722
1756
|
};
|
|
1723
1757
|
|
|
1724
|
-
declare type
|
|
1758
|
+
declare type Props_32 = {
|
|
1725
1759
|
/** Genişlik: sayı px, dize doğrudan CSS değeri. */
|
|
1726
1760
|
width?: number | string;
|
|
1727
1761
|
height?: number | string;
|
|
@@ -1732,7 +1766,7 @@ declare type Props_31 = {
|
|
|
1732
1766
|
className?: string;
|
|
1733
1767
|
};
|
|
1734
1768
|
|
|
1735
|
-
declare type
|
|
1769
|
+
declare type Props_33 = {
|
|
1736
1770
|
/** Ölçülen şeyin adı ("Bugünkü sipariş"). */
|
|
1737
1771
|
label: string;
|
|
1738
1772
|
/** Değerin KENDİSİ — biçimlendirilmiş dize. Bileşen hesap yapmaz. */
|
|
@@ -1759,7 +1793,25 @@ declare type Props_32 = {
|
|
|
1759
1793
|
testId?: string;
|
|
1760
1794
|
};
|
|
1761
1795
|
|
|
1762
|
-
declare type
|
|
1796
|
+
declare type Props_34 = {
|
|
1797
|
+
/** Kart başlığı — aynı zamanda bağlantı metni. */
|
|
1798
|
+
title: string;
|
|
1799
|
+
href: string;
|
|
1800
|
+
/** Başlığın altındaki 1-2 cümlelik özet. */
|
|
1801
|
+
description?: string;
|
|
1802
|
+
/** Alt meta satırı: rozetler, fiyat aralığı, sayaç. */
|
|
1803
|
+
meta?: ReactNode;
|
|
1804
|
+
/** Sol madalyon: ikon ya da küçük medya. */
|
|
1805
|
+
media?: ReactNode;
|
|
1806
|
+
/** Liste bağlamındaki başlık seviyesi. */
|
|
1807
|
+
headingLevel?: SummaryCardHeadingLevel;
|
|
1808
|
+
/** Yönlendiriciye geçirilecek ek props. */
|
|
1809
|
+
linkProps?: HanuiLinkExtraProps;
|
|
1810
|
+
className?: string;
|
|
1811
|
+
testId?: string;
|
|
1812
|
+
};
|
|
1813
|
+
|
|
1814
|
+
declare type Props_35 = {
|
|
1763
1815
|
/**
|
|
1764
1816
|
* Tamamlanan miktar. `undefined` → BELİRSİZ ilerleme (sonu bilinmiyor);
|
|
1765
1817
|
* çubuk kendi kendine akar.
|
|
@@ -1779,14 +1831,14 @@ declare type Props_33 = {
|
|
|
1779
1831
|
testId?: string;
|
|
1780
1832
|
};
|
|
1781
1833
|
|
|
1782
|
-
declare type
|
|
1834
|
+
declare type Props_36 = {
|
|
1783
1835
|
size?: 'sm' | 'md' | 'lg';
|
|
1784
1836
|
/** Ekran okuyucuya okunacak metin; görsel olarak gizli. */
|
|
1785
1837
|
label?: string;
|
|
1786
1838
|
className?: string;
|
|
1787
1839
|
};
|
|
1788
1840
|
|
|
1789
|
-
declare type
|
|
1841
|
+
declare type Props_37 = {
|
|
1790
1842
|
items: AccordionItem[];
|
|
1791
1843
|
/** Aynı anda YALNIZCA BİR bölüm açık kalır. */
|
|
1792
1844
|
isSingle?: boolean;
|
|
@@ -1799,10 +1851,15 @@ declare type Props_35 = {
|
|
|
1799
1851
|
testId?: string;
|
|
1800
1852
|
};
|
|
1801
1853
|
|
|
1802
|
-
declare type
|
|
1854
|
+
declare type Props_38 = {
|
|
1803
1855
|
steps: StepItem[];
|
|
1804
|
-
/**
|
|
1805
|
-
|
|
1856
|
+
/**
|
|
1857
|
+
* Bulunulan adımın DİZİNİ (0 tabanlı). Öncesi tamamlanmış sayılır.
|
|
1858
|
+
* VERİLMEZSE liste ilerleme değil SIRALI TALİMAT olarak çizilir: durum
|
|
1859
|
+
* metni yok, tik yok, `aria-current` yok — yalnızca numaralı adımlar
|
|
1860
|
+
* ("olası nedenler — kontrol sırasıyla" gibi teşhis listeleri).
|
|
1861
|
+
*/
|
|
1862
|
+
currentIndex?: number;
|
|
1806
1863
|
/**
|
|
1807
1864
|
* Bir adıma dönülebiliyorsa verilir. Verilmediğinde adımlar düğme DEĞİL
|
|
1808
1865
|
* düz metin olur — tıklanabilir görünüp hiçbir şey yapmayan bir adım,
|
|
@@ -1816,7 +1873,7 @@ declare type Props_36 = {
|
|
|
1816
1873
|
testId?: string;
|
|
1817
1874
|
};
|
|
1818
1875
|
|
|
1819
|
-
declare type
|
|
1876
|
+
declare type Props_39 = {
|
|
1820
1877
|
items: TabItem[];
|
|
1821
1878
|
/** Kontrolsüz kullanımda açılışta seçili sekme. */
|
|
1822
1879
|
defaultTabId?: string;
|
|
@@ -1831,7 +1888,19 @@ declare type Props_37 = {
|
|
|
1831
1888
|
testId?: string;
|
|
1832
1889
|
};
|
|
1833
1890
|
|
|
1834
|
-
declare type
|
|
1891
|
+
declare type Props_4 = {
|
|
1892
|
+
/** Tetikleyici. TEK öğe; bileşen ona `ref` ve ARIA ekliyor. */
|
|
1893
|
+
trigger: ReactElement;
|
|
1894
|
+
items: MenuItem[];
|
|
1895
|
+
/** Menünün erişilebilir adı ("Satır eylemleri"). ZORUNLU. */
|
|
1896
|
+
label: string;
|
|
1897
|
+
side?: PositionSide;
|
|
1898
|
+
align?: PositionAlign;
|
|
1899
|
+
className?: string;
|
|
1900
|
+
testId?: string;
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1903
|
+
declare type Props_40 = {
|
|
1835
1904
|
label: string;
|
|
1836
1905
|
/** İkon DIŞARIDAN gelir: hangi ikonun hangi konuya ait olduğu uygulamanın bilgisi. */
|
|
1837
1906
|
icon: ReactNode;
|
|
@@ -1845,7 +1914,7 @@ declare type Props_38 = {
|
|
|
1845
1914
|
testId?: string;
|
|
1846
1915
|
};
|
|
1847
1916
|
|
|
1848
|
-
declare type
|
|
1917
|
+
declare type Props_41 = {
|
|
1849
1918
|
events: TimelineEvent[];
|
|
1850
1919
|
/** Akışın erişilebilir adı ("Sipariş geçmişi"). ZORUNLU. */
|
|
1851
1920
|
label: string;
|
|
@@ -1853,19 +1922,7 @@ declare type Props_39 = {
|
|
|
1853
1922
|
testId?: string;
|
|
1854
1923
|
};
|
|
1855
1924
|
|
|
1856
|
-
declare type
|
|
1857
|
-
/** Tetikleyici. TEK öğe; bileşen ona `ref` ve ARIA ekliyor. */
|
|
1858
|
-
trigger: ReactElement;
|
|
1859
|
-
items: MenuItem[];
|
|
1860
|
-
/** Menünün erişilebilir adı ("Satır eylemleri"). ZORUNLU. */
|
|
1861
|
-
label: string;
|
|
1862
|
-
side?: PositionSide;
|
|
1863
|
-
align?: PositionAlign;
|
|
1864
|
-
className?: string;
|
|
1865
|
-
testId?: string;
|
|
1866
|
-
};
|
|
1867
|
-
|
|
1868
|
-
declare type Props_40 = {
|
|
1925
|
+
declare type Props_42 = {
|
|
1869
1926
|
title: string;
|
|
1870
1927
|
/** Kapatma düğmesinin erişilebilir adı. Verilmezse `labels.close`. */
|
|
1871
1928
|
closeLabel?: string;
|
|
@@ -1884,7 +1941,7 @@ declare type Props_40 = {
|
|
|
1884
1941
|
testId?: string;
|
|
1885
1942
|
};
|
|
1886
1943
|
|
|
1887
|
-
declare type
|
|
1944
|
+
declare type Props_43 = {
|
|
1888
1945
|
isOpen: boolean;
|
|
1889
1946
|
onClose: () => void;
|
|
1890
1947
|
title: string;
|
|
@@ -1906,7 +1963,7 @@ declare type Props_41 = {
|
|
|
1906
1963
|
testId?: string;
|
|
1907
1964
|
};
|
|
1908
1965
|
|
|
1909
|
-
declare type
|
|
1966
|
+
declare type Props_44 = {
|
|
1910
1967
|
isOpen: boolean;
|
|
1911
1968
|
onClose: () => void;
|
|
1912
1969
|
items: CommandItem[];
|
|
@@ -1920,7 +1977,7 @@ declare type Props_42 = {
|
|
|
1920
1977
|
testId?: string;
|
|
1921
1978
|
};
|
|
1922
1979
|
|
|
1923
|
-
declare type
|
|
1980
|
+
declare type Props_45 = {
|
|
1924
1981
|
isOpen: boolean;
|
|
1925
1982
|
onClose: () => void;
|
|
1926
1983
|
/**
|
|
@@ -1946,7 +2003,7 @@ declare type Props_43 = {
|
|
|
1946
2003
|
children?: ReactNode;
|
|
1947
2004
|
};
|
|
1948
2005
|
|
|
1949
|
-
declare type
|
|
2006
|
+
declare type Props_46 = {
|
|
1950
2007
|
isOpen: boolean;
|
|
1951
2008
|
onClose: () => void;
|
|
1952
2009
|
title: string;
|
|
@@ -1964,14 +2021,14 @@ declare type Props_44 = {
|
|
|
1964
2021
|
testId?: string;
|
|
1965
2022
|
};
|
|
1966
2023
|
|
|
1967
|
-
declare type
|
|
2024
|
+
declare type Props_47 = BaseProps_3 & {
|
|
1968
2025
|
/** Boş (yalnızca boşluk dahil) değer gönderilemez. */
|
|
1969
2026
|
isRequired?: boolean;
|
|
1970
2027
|
/** Zorunluluk yıldızının ekran okuyucu karşılığı ("(zorunlu)"). */
|
|
1971
2028
|
requiredLabel?: string;
|
|
1972
2029
|
};
|
|
1973
2030
|
|
|
1974
|
-
declare type
|
|
2031
|
+
declare type Props_48 = TableHTMLAttributes<HTMLTableElement> & Partial<{
|
|
1975
2032
|
/**
|
|
1976
2033
|
* Hücre dolgusu. Tablolar aynı iskeleti paylaşır ama yoğunlukları içeriğe
|
|
1977
2034
|
* göre değişir: yüzlerce satırlık bir liste sıkı, karşılaştırma matrisi
|
|
@@ -1989,7 +2046,7 @@ declare type Props_46 = TableHTMLAttributes<HTMLTableElement> & Partial<{
|
|
|
1989
2046
|
hasRowHover: boolean;
|
|
1990
2047
|
}>;
|
|
1991
2048
|
|
|
1992
|
-
declare type
|
|
2049
|
+
declare type Props_49 = {
|
|
1993
2050
|
columns: DataTableColumn[];
|
|
1994
2051
|
/**
|
|
1995
2052
|
* Tablonun erişilebilir adı ("Bekleyen siparişler").
|
|
@@ -2034,24 +2091,6 @@ declare type Props_47 = {
|
|
|
2034
2091
|
testId?: string;
|
|
2035
2092
|
};
|
|
2036
2093
|
|
|
2037
|
-
declare type Props_48 = {
|
|
2038
|
-
/**
|
|
2039
|
-
* Filtreler uygulanır. `preventDefault` bileşenin işi; çağıran yalnızca
|
|
2040
|
-
* durumunu günceller (sayfayı 1'e almak + aramayı uygulamak gibi).
|
|
2041
|
-
*/
|
|
2042
|
-
onSubmit: () => void;
|
|
2043
|
-
/** Alanlar — her biri {@link FilterBarField} içinde. */
|
|
2044
|
-
children: ReactNode;
|
|
2045
|
-
/** Şeridin sağ ucundaki eylemler ("Uygula" düğmesi gibi). */
|
|
2046
|
-
actions?: ReactNode;
|
|
2047
|
-
/** Şeridin erişilebilir adı. Verilmezse `labels.filters`. */
|
|
2048
|
-
label?: string;
|
|
2049
|
-
className?: string;
|
|
2050
|
-
testId?: string;
|
|
2051
|
-
};
|
|
2052
|
-
|
|
2053
|
-
declare type Props_49 = LinkProps | ButtonProps;
|
|
2054
|
-
|
|
2055
2094
|
declare type Props_5 = {
|
|
2056
2095
|
/**
|
|
2057
2096
|
* Tetikleyici. TEK bir öğe olmak zorunda: bileşen ona `ref`, `onClick` ve
|
|
@@ -2070,6 +2109,24 @@ declare type Props_5 = {
|
|
|
2070
2109
|
testId?: string;
|
|
2071
2110
|
};
|
|
2072
2111
|
|
|
2112
|
+
declare type Props_50 = {
|
|
2113
|
+
/**
|
|
2114
|
+
* Filtreler uygulanır. `preventDefault` bileşenin işi; çağıran yalnızca
|
|
2115
|
+
* durumunu günceller (sayfayı 1'e almak + aramayı uygulamak gibi).
|
|
2116
|
+
*/
|
|
2117
|
+
onSubmit: () => void;
|
|
2118
|
+
/** Alanlar — her biri {@link FilterBarField} içinde. */
|
|
2119
|
+
children: ReactNode;
|
|
2120
|
+
/** Şeridin sağ ucundaki eylemler ("Uygula" düğmesi gibi). */
|
|
2121
|
+
actions?: ReactNode;
|
|
2122
|
+
/** Şeridin erişilebilir adı. Verilmezse `labels.filters`. */
|
|
2123
|
+
label?: string;
|
|
2124
|
+
className?: string;
|
|
2125
|
+
testId?: string;
|
|
2126
|
+
};
|
|
2127
|
+
|
|
2128
|
+
declare type Props_51 = LinkProps | ButtonProps;
|
|
2129
|
+
|
|
2073
2130
|
declare type Props_6<T extends string> = SingleProps<T> | MultipleProps<T>;
|
|
2074
2131
|
|
|
2075
2132
|
declare type Props_7<T extends string> = {
|
|
@@ -2186,7 +2243,7 @@ export declare type RangeValue = [number, number];
|
|
|
2186
2243
|
export declare const Rating: typeof Rating_2;
|
|
2187
2244
|
|
|
2188
2245
|
/** Yıldız puanı — salt gösterim. */
|
|
2189
|
-
declare const Rating_2: FC<
|
|
2246
|
+
declare const Rating_2: FC<Props_29>;
|
|
2190
2247
|
|
|
2191
2248
|
export declare const RatingInput: typeof RatingInput_2;
|
|
2192
2249
|
|
|
@@ -2208,7 +2265,7 @@ declare type RowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
|
2208
2265
|
export declare const ScrollArea: typeof ScrollArea_2;
|
|
2209
2266
|
|
|
2210
2267
|
/** Kaydırma kutusu — <strong>klavyeyle erişilebilir</strong> kaydırma bölgesi. */
|
|
2211
|
-
declare const ScrollArea_2: FC<
|
|
2268
|
+
declare const ScrollArea_2: FC<Props_31>;
|
|
2212
2269
|
|
|
2213
2270
|
declare type ScrollerProps = HTMLAttributes<HTMLDivElement> & {
|
|
2214
2271
|
/**
|
|
@@ -2230,7 +2287,7 @@ declare type ScrollerProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
2230
2287
|
export declare const SectionHeader: typeof SectionHeader_2;
|
|
2231
2288
|
|
|
2232
2289
|
/** Bölüm başlığı. */
|
|
2233
|
-
declare const SectionHeader_2: FC<
|
|
2290
|
+
declare const SectionHeader_2: FC<Props_30>;
|
|
2234
2291
|
|
|
2235
2292
|
export declare const SegmentedControl: typeof SegmentedControl_2;
|
|
2236
2293
|
|
|
@@ -2272,7 +2329,7 @@ declare type SingleProps<T extends string> = BaseProps<T> & {
|
|
|
2272
2329
|
export declare const Skeleton: typeof Skeleton_2;
|
|
2273
2330
|
|
|
2274
2331
|
/** Yükleme iskeleti. */
|
|
2275
|
-
declare const Skeleton_2: FC<
|
|
2332
|
+
declare const Skeleton_2: FC<Props_32>;
|
|
2276
2333
|
|
|
2277
2334
|
export declare const SkeletonCard: NamedExoticComponent<ShapeProps>;
|
|
2278
2335
|
|
|
@@ -2285,12 +2342,12 @@ columns?: number;
|
|
|
2285
2342
|
export declare const Spinner: typeof Spinner_2;
|
|
2286
2343
|
|
|
2287
2344
|
/** Yükleme göstergesi. */
|
|
2288
|
-
declare const Spinner_2: FC<
|
|
2345
|
+
declare const Spinner_2: FC<Props_36>;
|
|
2289
2346
|
|
|
2290
2347
|
export declare const Stat: typeof Stat_2;
|
|
2291
2348
|
|
|
2292
2349
|
/** Ölçüm kutusu (KPI). */
|
|
2293
|
-
declare const Stat_2: FC<
|
|
2350
|
+
declare const Stat_2: FC<Props_33>;
|
|
2294
2351
|
|
|
2295
2352
|
/** Değişimin yönü. `flat` "değişmedi" — yokluk DEĞİL. */
|
|
2296
2353
|
export declare type StatTrend = 'up' | 'down' | 'flat';
|
|
@@ -2305,7 +2362,20 @@ export declare type StepItem = {
|
|
|
2305
2362
|
export declare const Steps: typeof Steps_2;
|
|
2306
2363
|
|
|
2307
2364
|
/** Adım göstergesi (stepper) — çok adımlı akışta NEREDE olunduğu. */
|
|
2308
|
-
declare const Steps_2: FC<
|
|
2365
|
+
declare const Steps_2: FC<Props_38>;
|
|
2366
|
+
|
|
2367
|
+
export declare const SummaryCard: typeof SummaryCard_2;
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* Özet kartı — başlık + kısa açıklama + meta satırı taşıyan BAĞLANTILI kart.
|
|
2371
|
+
*
|
|
2372
|
+
* Kartın tamamı tıklanır ama sekme durağı TEKTİR: bağlantı başlıktadır,
|
|
2373
|
+
* yüzeyi `::after` katmanı kaplar. `meta` satırı katmanın ÜSTÜNDE durur —
|
|
2374
|
+
* içine konan çip/rozet tıklamaları kart bağlantısına düşmez.
|
|
2375
|
+
*/
|
|
2376
|
+
declare const SummaryCard_2: FC<Props_34>;
|
|
2377
|
+
|
|
2378
|
+
export declare type SummaryCardHeadingLevel = 2 | 3 | 4;
|
|
2309
2379
|
|
|
2310
2380
|
export declare const Switch: typeof Switch_2;
|
|
2311
2381
|
|
|
@@ -2342,7 +2412,7 @@ export declare type TabItem = {
|
|
|
2342
2412
|
export declare const Table: typeof Table_2;
|
|
2343
2413
|
|
|
2344
2414
|
/** Temel tablo — hairline satır ayrımı, `$surface-2` başlık, yoğunluk ölçeği. */
|
|
2345
|
-
declare const Table_2: FC<
|
|
2415
|
+
declare const Table_2: FC<Props_48>;
|
|
2346
2416
|
|
|
2347
2417
|
export declare const TableCheckbox: typeof TableCheckbox_2;
|
|
2348
2418
|
|
|
@@ -2380,7 +2450,7 @@ export declare const TABLET_PORTRAIT_BREAKPOINT = 768;
|
|
|
2380
2450
|
export declare const Tabs: typeof Tabs_2;
|
|
2381
2451
|
|
|
2382
2452
|
/** Sekmeler. */
|
|
2383
|
-
declare const Tabs_2: FC<
|
|
2453
|
+
declare const Tabs_2: FC<Props_39>;
|
|
2384
2454
|
|
|
2385
2455
|
export declare const TagInput: typeof TagInput_2;
|
|
2386
2456
|
|
|
@@ -2411,12 +2481,12 @@ export declare const THEME_ATTRIBUTE = "data-hanui-theme";
|
|
|
2411
2481
|
export declare const Tile: typeof Tile_2;
|
|
2412
2482
|
|
|
2413
2483
|
/** Karo — ikon madalyonu + etiket. */
|
|
2414
|
-
declare const Tile_2: ({ label, icon, href, meta, isActive, linkProps, className, testId }:
|
|
2484
|
+
declare const Tile_2: ({ label, icon, href, meta, isActive, linkProps, className, testId }: Props_40) => JSX.Element;
|
|
2415
2485
|
|
|
2416
2486
|
export declare const Timeline: typeof Timeline_2;
|
|
2417
2487
|
|
|
2418
2488
|
/** Zaman çizelgesi — sipariş durumu, işlem geçmişi. */
|
|
2419
|
-
declare const Timeline_2: FC<
|
|
2489
|
+
declare const Timeline_2: FC<Props_41>;
|
|
2420
2490
|
|
|
2421
2491
|
export declare type TimelineEvent = {
|
|
2422
2492
|
id: string;
|